Reputation: 15
I want to type the script "code ." in terminal in order to open my code editor, PhpStorm. How can I do that?
Upvotes: 1
Views: 1217
Reputation: 1
type code NameOftheProject and it will be open, make sure you are in the correct directory
forex c:\composer\NameOftheProject> code NameOftheProject.
Upvotes: 0
Reputation: 690
The code
command is used to open VS Code specifically. PhpStorm doesn't come with a command-line interface, but you can create one by following this tutorial (you will need the Toolbox app in order to generate a shell script if an alias isn't enough for you): https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html
Upvotes: 1