You can add alias to your config file: #Edit your config:Īlias ws='open -a /Applications/WebStorm.app' Open -a /Applications/WebStorm.app Desktop myscript.js #Open particular file Open -a /Applications/WebStorm.app Desktop #Open particular folder Otherwise, as anstarovoyt has kindly pointed out, you can simply create your own shortcut via "Tools" > "Create Command Line Launcher"Īnother way to do that: open -a /Applications/WebStorm.app #Open last project Subl is to Sublime as wstorm is to Webstorm. I was surprised to find I already had a shortcut in my command line tools for webstorm: I also downloaded WebStorm and wanted to use a similar shortcut to open files directly from the terminal. Noted, others had made similar comments in this answers section, and wished to clarify the situation. If you actually wish to open webstorm and have it load the contents of the current working directory for example, then place a. Instead, just use the already installed command line binary wstorm designed for this purpose. There was no option as described in the accepted answer. Update January 2016 using Webstorm 11.0.3 on mac os x Note: The solution works only for Linux / MacOS Solution 2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |