Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to launch more than one Webstorm instance using the command-line launcher?

Webstorm can be launched from the command line using the command wstorm. However, would it be possible to launch more than one instance? Usually, the second time I run wstorm, it doesn't open another Webstorm for me and does nothing.

like image 793
Paolo del Mundo Avatar asked Jan 01 '14 17:01

Paolo del Mundo


People also ask

Can I open 2 instances of Intellij?

If the project has been opened before then you can do: Go to File. Open Recent. Select New Window.


2 Answers

In OS X, this is apparently caused by an outdated wstorm (a Python script at /usr/local/bin/wstorm). I verified the solution indicated in this ticket with WebStorm 2016.1.3:

  • Go to Tools > Create Command-line Launcher....

    enter image description here

UPDATE Nov-2016: As of WebStorm 2016.3, the default name of the launcher changed from wstorm to webstorm. If you prefer wstorm instead, make sure to edit the script name before clicking OK:

enter image description here

like image 81
tony19 Avatar answered Oct 23 '22 18:10

tony19


Just run:

WebStorm.exe "Full\path\to\the\project\that\contains\the\.idea\folder\of\your\project"

The project will run in the same instance but in a separted window as described here: https://www.jetbrains.com/webstorm/help/opening-multiple-projects.html

NOTE: This was tested on WebStorm 9.0.3 and may not work on previous versions.

like image 38
wOOdy... Avatar answered Oct 23 '22 17:10

wOOdy...