magento2-phpstorm-plugin
magento2-phpstorm-plugin copied to clipboard
Context menu not opening in ntfs junctions consistently
Describe the bug (*)
I want to create a new DataModel or a Console Command so I right click on the module's folder which is an ntfs junction to a different directory.
In some projects it works, in some it doesn't
To Reproduce (*)
- Store your module in a different directory
- Create Vendor folder in
app/code/Vendor - Create a junction with powershell for the module
New-Item -ItemType Junction -Path ".\app\code\Vendor\Extension -Target "YourPath\extension\"
4. Right click on the directory in the project view
5. The context menu won't open

However if I right click on etc directory it will open correctly

But if I put the junction one level above it works fine

Expected behavior (*)
The context menu works and options apear.
Screenshots
Please complete the following information: (*)
- OS: Windows 11 x64 For Workstations
- PhpStorm/Intellij version: PhpStorm 2022.3.2
- Plugin Version: com.magento.idea.magento2plugin (5.0.1)
Additional context
Add any other context about the problem here.