All apps/Visual Studio Code

Visual Studio Code

vscode

Code editing. Redefined.

Runs as code, code-insiders|macOS, Linux, Windows|code.visualstudio.com

Command form

ai-draft · 4 tasks · 12 fields

Open files and folders, jump to a line, and manage extensions. Diff/merge, debugging and profiling flags are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui vscode
Open in VS CodeExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or folders*
any
New window
--new-window
Reuse window
--reuse-window
Wait until closed
--wait
TasksEach one presets the form for one job
Open files or folders
pathsnew_windowreuse_windowwait
Open at a line
gotoreuse_window
List extensions
list_extensionsshow_versions
Install an extension
install_extension
ParametersOnly these flags are editable in the form
Files or folders
Files or folders to open; leave empty to open the app only.
path · positional 0 · repeatable
New window
boolean
--new-window-n
Reuse window
boolean
--reuse-window-r
Wait until closed
Do not return until the opened files are closed.
boolean
--wait-w
Go to file:line:column
Open a file at a position, written as file:line[:character].
string
--goto-g
Add folder to window
path
--add-a
Settings profile
string
--profile
Disable all extensions
boolean
--disable-extensions
List installed extensions
boolean
--list-extensions
Show extension versions
Only meaningful together with --list-extensions.
boolean
--show-versions
Install extension
Extension id (publisher.name[@version]) or path to a VSIX.
string
--install-extension
Uninstall extension
Extension id (publisher.name).
string
--uninstall-extension
SourcesEvery flag above is checked against these
fig
completion

github.com

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