Thanks for that effort Alexander. It worked for me somewhat, but doesn't open as a project, it just opens in LightEdit mode as just an empty folder. Just fyi. I'll find another way, but again thanks for your help!
For the record, re-installing PhpStorm can't cause data loss. The config, indexes, and projects are kept separately from the installation, so you risk nothing. Re-installing is the easiest way here.
You can use FileTypesMan to add custom context menu entries -- http://www.nirsoft.net/utils/file_types_manager.html 1) Find "Directory" entry (usually near the bottom) and select it 2) Create new action (Ctrl+N): - Action Name: PhpStorm - Menu Caption: Open Folder as PhpStorm Project - Command Line: "C:\Program Files (x86)\JetBrains\PhpStorm\bin\PhpStorm.exe" "%1" (or wherever you have PhpStorm installed, you can also have it running and choose from running programs)
I´ve reinstalled trough toolbox, i don´t lose any data but to in the reinstall it not show the option to activate that option... in fact don't show any installation option... 😱
Found how I need to create bat file and run. http://pasteos.com/read-only/adding-phpstorm-to-context-menu-on-right-click-on-windows
Thanks for that effort Alexander. It worked for me somewhat, but doesn't open as a project, it just opens in LightEdit mode as just an empty folder. Just fyi. I'll find another way, but again thanks for your help!
For the record, re-installing PhpStorm can't cause data loss. The config, indexes, and projects are kept separately from the installation, so you risk nothing.
Re-installing is the easiest way here.
You can use FileTypesMan to add custom context menu entries -- http://www.nirsoft.net/utils/file_types_manager.html
1) Find "Directory" entry (usually near the bottom) and select it
2) Create new action (Ctrl+N):
- Action Name: PhpStorm
- Menu Caption: Open Folder as PhpStorm Project
- Command Line: "C:\Program Files (x86)\JetBrains\PhpStorm\bin\PhpStorm.exe" "%1" (or wherever you have PhpStorm installed, you can also have it running and choose from running programs)
You can use this https://gist.github.com/ibrahimhajjaj/e2265bd37ba072d6abc924635418e434. It`s worked for me.
I´ve reinstalled trough toolbox, i don´t lose any data but to in the reinstall it not show the option to activate that option... in fact don't show any installation option... 😱
Sadly, it is not possible yet with the Toolbox-managed installations, here is a ticket about it:
https://youtrack.jetbrains.com/issue/TBX-2478/Windows-Open-Directory-With-Editor