magento / magento/magento2-phpstorm-plugin

The "Navigate to configuration" feature no longer displays the file paths next to the nodes

Open
#2,095 5 comments 0 reactions 0 assignees View on GitHub
bug good first issue Priority: P2
Dominant language
Java
Stars
463
Forks
98
Avg merge
1h 6m
Merged PRs (30d)
3

Description

**Describe the bug** (*)

The "Navigate to configuration" feature no longer displays the file paths next to the nodes. It previously showed a list of XML configuration files that define the preferences and services for the interface.

This feature worked correctly before, so I suspect it might have stopped functioning after the updates in version 5.1.0, 5.1.1, or another version released after 4.2.3 on Feb 02, 2022. Having the paths displayed again would make this feature a whole lot more useful.

**To Reproduce** (*)

Steps to reproduce the behavior:
1. Go to any interface that defines a preference or service in an appropriate XML file. E.g., `Magento\Sales\Api\InvoiceOrderInterface`
2. Click on the small bracket icon near the interface

**Expected behavior** (*)

The file paths are displayed next to the nodes.

**Screenshots**
navigate_to_configuration_file_paths

**Actual result**
The file paths are not displayed next to the nodes.

**Screenshots**

![navigate_to_configuration_file_paths_unexpected_bahavior](https://github.com/user-attachments/assets/abd8f7aa-25f7-4929-8813-45991c776533)

**Information:** (*)

- OS: MacOS
- PhpStorm version: e.g. 2024.1
- Plugin Version: 5.2.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in PhpStorm 2024.1 with plugin version 5.2.0 by opening Magento\Sales\Api\InvoiceOrderInterface and using the bracket icon. Start by tracing the plugin behavior for “Navigate to configuration”; done means the XML configuration file paths appear next to the nodes again.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, php
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.