1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:42:07 +02:00
tldr/pages/common/webstorm.md
2022-02-02 09:07:41 +08:00

32 lines
841 B
Markdown

# webstorm
> The JetBrains JavaScript IDE.
> More information: <https://www.jetbrains.com/help/webstorm/working-with-the-ide-features-from-command-line.html>.
- Open the current directory in WebStorm:
`webstorm`
- Open a specific directory in WebStorm:
`webstorm {{path/to/directory}}`
- Open specific files in the LightEdit mode:
`webstorm -e {{path/to/file1 path/to/file2 ...}}`
- Open and wait until done editing a specific file in the LightEdit mode:
`webstorm --wait -e {{path/to/file}}`
- Open a file with the cursor at the specific line:
`webstorm --line {{line_number}} {{path/to/file}}`
- Open and compare files (supports up to 3 files):
`webstorm diff {{path/to/file1}} {{path/to/file2}}`
- Open and perform a three-way merge:
`webstorm merge {{path/to/left_file}} {{path/to/right_file}} {{path/to/target_file}}`