vscode
Common aliases
Alias | Command | Description |
---|---|---|
vsc | code . | Open the current folder in VS code |
vsc | code | Open passed folder in VS code |
vsca | code --add | Add folder(s) to the last active window |
vscd | code --diff | Compare two files with each other. |
vscg | code --goto | Open a file at the path on the specified line and character position. |
vscn | code --new-window | Force to open a new window. |
vscr | code --reuse-window | Force to open a file or folder in the last active window. |
vscw | code --wait | Wait for the files to be closed before returning. |
vscu | code --user-data-dir | Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code. |
vscp | code --profile | Specifies the profile to open Code with. |
Extensions aliases
Alias | Command | Description |
---|---|---|
vsced | code --extensions-dir | Set the root path for extensions. |
vscie | code --install-extension | Installs an extension. |
vscue | code --uninstall-extension | Uninstalls an extension. |
Other options:
Alias | Command | Description |
---|---|---|
vscv | code --verbose | Print verbose output (implies --wait). |
vscl | code --log | Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'. |
vscde | code --disable-extensions | Disable all installed extensions. |
Last updated