Search notes:

Visual Studio Code: extensions

Showing installed extentions

On the command line. Using --show-versions also shows the version:
C:\> code --list-extensions --show-versions
In the GUI: ctrl+shift+p or F1, then type show i[nstalled extensions].
This seems to be equivalent to entering @installed in the search field in the Extensions Activity Bar.
Some infomration can also be queried on the command line like so:
jq . ~/.vscode/extensions/extensions.json

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 is

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1788378948, '216.73.217.21', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/editors/Visual-Studio-Code/extensions/index(94): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78