Opening Files from Command Line
On this page:
Opening a file in the editor
WebStorm helps opening a file for editing so that the caret rests at the specified line.
To open a file for editing
Examples
Windows
WebStorm.exe C:\SamplesProjects\MetersToInchesConverter --line 3
C:\SamplesProjects\MetersToInchesConverter\src\javascript\numbers.js
OS X
/Applications/WebStorm.app/Contents/MacOS/webstorm ~/WebStormProjects/untitled45 --line 1 ~/WebStormProjects/untitled45/sample.sass
Last modified: 22 March 2017