Search notes:

Visual Studio Code: extensions

Showing installed extentions

On the command line:
C:\> code --list-extensions --show-versions
In the GUI: ctrl+shift+p or F1, then type show i[nstalled extensions].

Silencing extension recommendations

It's possible to configure VS Code to not show extension recommendations in settings.json by setting extensions.ignoreRecommendations to true.

Extension management on the command line

Extensions can be configured with command line options:
--extension-dir <dir> Configure root path for extensions
--list-extensions
--show-versions Used along with --list-extensions
--install-extension (<extension-id> | <extension-vsix-path>)
--uninstall-extension (<extension-id> | <extension-vsix-path>)
--enable-proposed-api (<extension-id>)
For example, explicit folding and VSCodeVim can be installed in one go like so:
code --install-extension zokugun.explicit-folding --install-extension vscodevim.vim
yarn package
code --install-extension vim-<MAJOR>.<MINOR>.<PATCH>.vsix --force

See also

package.json is an extensions manifest file (see also extension anatomy).
@vscode/vsce is an npm package: the Visual Studio Code Extension Manager. It helps to package, publish and unpublish VS Code extensions.
This tool supersedes the depracated npm package vsce package.
Visual Studio Code API is a JavaScript API that can be used from extensions.
The default location for extensions on Windows is %USERPROFILE%\.vscode\extensions

Index