webstorm

The JetBrains JavaScript IDE.

TLDR

Open the current directory in WebStorm

$ webstorm
copy


Open a specific directory in WebStorm
$ webstorm [path/to/directory]
copy


Open specific files in the LightEdit mode´╗┐
$ webstorm -e [path/to/file1 path/to/file2 ...]
copy


Open and wait until done editing a specific file in the LightEdit mode
$ webstorm --wait -e [path/to/file]
copy


Open a file with the cursor at the specific line
$ webstorm --line [line_number] [path/to/file]
copy


Open and compare files (supports up to 3 files)
$ webstorm diff [path/to/file1] [path/to/file2]
copy


Open and perform a three-way merge
$ webstorm merge [path/to/left_file] [path/to/right_file] [path/to/target_file]
copy

Copied to clipboard