How to add "Open folder as PhpStorm Project" in Windows context menu without reinstall?

How to add context menu without reinstall phpstorm, without data loss?

Is it possible add context menu with already installed PhpStorm?

2

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!

0

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.

0

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)

 

0

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... 😱

1

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

1

请先登录再写评论。