All apps/WebStorm

WebStorm

webstorm

The JavaScript and TypeScript IDE.

Runs as webstorm|macOS, Linux, Windows|www.jetbrains.com

Command form

ai-draft · 4 tasks · 9 fields

Open files or folders, compare two files, or run the code formatter. Inspection and plugin installation are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui webstorm
Open in WebStormExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or folders*
any
Wait until closed
--wait
TasksEach one presets the form for one job
Open path
pathswait
ParametersOnly these flags are editable in the form
Files or folders
path · positional 0 · repeatable
Wait until closed
boolean
--wait

webstorm diff

Compare two files

Open the diff viewer.

Compare two filesExample values, fixed in this page — nothing here reaches a terminal
Basic
First file*
file
Second file*
file
TasksEach one presets the form for one job
Diff files
leftright
ParametersOnly these flags are editable in the form
First file
path · positional 0
Second file
path · positional 1

webstorm format

Format code

Apply code style formatting.

Format codeExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or folders*
any
File masks
string
Recurse into directories
-r
Validate only (dry run)
-d
TasksEach one presets the form for one job
Check formatting
pathsmaskrecursivedry
Format files
pathsmaskrecursivesettings
ParametersOnly these flags are editable in the form
Files or folders
Formatting rewrites these files in place.
path · positional 0 · repeatable
File masks
Comma-separated file masks, e.g. *.ts,*.js.
string
-m
Recurse into directories
boolean
-r
Code style settings file
path
-s
Validate only (dry run)
boolean
-d
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed webstorm against its version. A form that does not match your version is not offered.