VS Code Extensions

VS Code has a rich ecosystem of extensions that can extend VS Code’s functionality.

This page explains the different methods of installing extensions while using VS Code in Posit Workbench. For recommended extensions please refer to Recommended Settings and Extensions.

Extensions view

Open the Extensions view by clicking on the icon in the sidebar.

Extensions menu bar button

The Extensions view has three sections:

Extensions menu bar button

  1. SERVER_ADDRESS - INSTALLED 1
  2. BROWSER - INSTALLED
  3. RECOMMENDED

The SERVER_ADDRESS - INSTALLED section lists every extension currently installed, whether globally on the server or by you. The other two sections are not used in the session running on Posit Workbench.

Installing extensions

Install extensions either locally for the user, or globally for the server. If an administrator configures a global extensions directory, users cannot install extensions manually.

  • Local extensions are installed by each user via the marketplace, or manual installation, and are not shared with any other users.
  • Global extensions are installed by an administrator on each server and are automatically shared across all users.

Installing from the marketplace

Important

In VS Code running on Posit Workbench, extensions listed and installed from the marketplace are from the Open VSX Registry (unless otherwise configured by your administrator). It is against VS Code’s Terms of Service to use the official Marketplace extensions with third-party tools.

Reference VS Code’s Install an extension documentation for the steps to install extensions from the marketplace.

Installing manually

If their administrator has not set up a global extensions directory, a user can manually install local extensions.

You can find and download extensions in VSIX format from online marketplaces. Once you have downloaded the extension in VSIX format, you can install extensions manually by using the UI or via the command line:

  • Upload the VSIX file from the menu bar with the Install from VSIX… button.

    Extension manual VSIX file upload button

  • If you are installing the extension from the command line, use the --install-extension argument, passing the VSIX file path as the extension name, similar to:

    --install-extension <extension publisher>.<extension>

Reference VS Code’s List installed extensions documentation for the steps to view to a list of installed extensions.

Installed extension details

In the Extension view, click an extension’s icon for more information, including a description, usage details, and version number.

Python Extension Details example

Extension details
Back to top

Footnotes

  1. SERVER_ADDRESS is your Posit Workbench server address.↩︎