Skip to main content

VS Code Extensions Guide: Choose, Manage, Secure, and Build Them in 2026

By Pashalis LaoutarisUpdated: Category: IDEs Guides56 min read

VS Code is a fairly small editor until you add extensions. Extensions give it language support, debuggers, Git tooling, themes, remote development, and now AI agents. They are also the largest source of slowdowns, conflicts, and security risk in the whole product.

This guide covers both sides. You will learn how extensions work, how to install and update them safely, and how to organize them with profiles and Settings Sync. You will also get a curated catalog of extensions I would actually install, plus a section on AI extensions and MCP servers.

Every fact comes from the official VS Code documentation, the release notes, the Visual Studio Marketplace itself, or named security research. I checked them on October 6, 2026, against VS Code 1.140, which shipped on September 30, 2026. VS Code releases monthly and the Marketplace changes daily, so treat version numbers and “last updated” dates as a snapshot.

If you are still choosing an editor, start with my guide to IDEs. For the AI side of the picture, see my guide to AI-powered IDEs and the Claude Code deep dive. This article focuses on the extension system that sits underneath all of them.

Who This Guide Is For

The guide is long, so pick the route that fits you.

  • New to extensions: read sections 1, 2, and 9, then browse the catalog in section 7.
  • Security-conscious users and teams: read sections 4, 5, and 12.
  • Anyone with a slow editor: jump to section 6.
  • AI users: read section 8.
  • Extension authors: read sections 10 and 11.

Table of Contents

  1. How VS Code Extensions Work
  2. Finding and Installing Extensions
  3. Updates, Versions, and Pre-Releases
  4. Organizing Extensions: Profiles, Sync, and Teams
  5. Extension Security
  6. Performance and Troubleshooting
  7. A Curated Extension Catalog
  8. AI Extensions and MCP Servers
  9. Starter Setups by Stack
  10. Building and Publishing Your Own Extension
  11. Forks, Open VSX, and Licensing
  12. A Maintenance Routine
  13. Frequently Asked Questions
  14. Conclusion
  15. References

Quick Reference Card

If you are short on time, this table holds the commands and settings you will use most often.

Task How
Open the Extensions view Ctrl+Shift+X (⇧⌘X on macOS)
Install by ID from the Quick Open Ctrl+P, then ext install publisher.name
Install from the command line code --install-extension publisher.name
Find an extension by ID @id:publisher.name in the Extensions search box
See everything installed @installed, or code --list-extensions --show-versions
See which extensions are slow Developer: Show Running Extensions
Find the extension that breaks things Help: Start Extension Bisect
Start with every extension off code --disable-extensions
Switch between setups Profiles: Switch Profile
Recommend extensions to a team .vscode/extensions.json
Pause automatic updates extensions.autoUpdate set to off
Delay automatic updates extensions.autoUpdateDelay (hours, default 12)
Lock down extensions in a company extensions.allowed
Review trusted publishers Extensions: Manage Trusted Extensions Publishers
Turn off built-in AI features chat.disableAIFeatures
Report a malicious extension Report a concern link on the Marketplace page

1. How VS Code Extensions Work

Official docs: Extension Marketplace

An extension is a package of code and declarations that VS Code loads into a separate process called the extension host. The editor UI stays responsive even when an extension misbehaves. That separation protects speed, not safety, and I explain the difference in section 5.

What an extension can add

Extensions contribute through a manifest file called package.json. A single extension can contribute several of these at once.

  • Languages: syntax highlighting, IntelliSense, go-to-definition, and refactoring, usually through a language server.
  • Debuggers: launch and attach support for a runtime, with breakpoints and variable inspection.
  • Formatters and linters: tools that rewrite or check your code on save.
  • Source control providers: Git hosting integrations and alternative version control systems.
  • Themes and icons: color themes, file icon themes, and product icon themes.
  • Snippets and keymaps: reusable code templates, and shortcut sets borrowed from other editors.
  • Notebooks and visualizers: support for Jupyter and similar formats.
  • Language packs: translations of the VS Code interface.
  • AI features: chat participants, agents, model providers, and MCP servers.

The Marketplace groups these into categories such as AI, Azure, Chat, Data Science, Debuggers, Extension Packs, Education, Formatters, Keymaps, Language Packs, Linters, Machine Learning, Notebooks, Programming Languages, SCM Providers, Snippets, Testing, Themes, Visualization, and Other.

Activation: extensions load lazily

Most extensions do not run until something wakes them. The manifest lists activationEvents, such as opening a file of a certain language or running a command. Until then the extension sits idle on disk. That is why ten language extensions can coexist without ten language servers running at once.

Some extensions activate on startup instead. Those are the ones that slow your launch time, and section 6 shows how to find them.

UI extensions and workspace extensions

When you work remotely (over SSH, in WSL, or in a dev container), VS Code splits extensions into two kinds.

  • UI extensions run on your local machine. Themes, snippets, keymaps, and language grammars are typical examples.
  • Workspace extensions run where the code lives. Language servers, debuggers, and anything that reads project files are typical examples.

An extension declares its kind with the extensionKind property. VS Code picks the right side automatically and installs the extension in the right place. Advanced users can override the choice with the remote.extensionKind setting, although the docs warn that forcing a location can break an extension.

Web extensions

Some extensions can run in a browser sandbox. They power vscode.dev, GitHub Codespaces in the browser, and other web builds of VS Code. The extensions.webWorker setting controls the web worker extension host and defaults to auto, which starts it only when a web extension needs it.

Built-in extensions

VS Code ships with extensions of its own. Type @builtin in the Extensions search box to list them, grouped by type. This is where basic JavaScript, TypeScript, HTML, CSS, JSON, Markdown, and Git support live.

Many popular extensions from the early years now duplicate features that VS Code has built in. Check this table before installing something you may not need.

You might install The built-in alternative
A bracket colorizer editor.bracketPairColorization.enabled
Auto Rename Tag editor.linkedEditing, which renames paired HTML tags together
An HTML abbreviation expander Emmet support, which is built in
A Markdown previewer The built-in Markdown preview (Markdown: Open Preview to the Side)
A basic Git client The built-in Source Control view
A save-time formatter trigger editor.formatOnSave, paired with your chosen formatter
A scope header plugin editor.stickyScroll.enabled
A settings backup tool Settings Sync, covered in section 4
A package.json or JSON helper The built-in JSON language features

The permission model in one sentence

The official documentation puts it bluntly: extensions have the same permissions as VS Code itself. They can read and write files, make network requests, run external programs, and change your settings. Everything in section 5 follows from that sentence.

2. Finding and Installing Extensions

Official docs: Extension Marketplace

The Extensions view

Open it with Ctrl+Shift+X or the Extensions icon in the Activity Bar. Each search result shows the name, a short description, the publisher, the download count, and a five-star rating. Select a result to open its details page.

Read the details page before you click Install. It contains several things worth checking.

  • The README: it tells you what the extension does and which settings it needs.
  • Feature Contributions: a list of the settings, commands, keyboard shortcuts, grammars, and debuggers the extension adds.
  • The changelog: it shows how actively the project is maintained.
  • Dependencies: other extensions that get installed along with it.
  • Extension Pack: if the extension is a bundle, this lists everything inside.

Search filters

Type @ in the search box and VS Code suggests filters. You can combine them, as in @installed @category:themes.

Filter What it shows
@builtin Extensions that ship with VS Code
@installed Everything you have installed
@enabled Installed and currently enabled
@disabled Installed but disabled
@updates Installed extensions with an update waiting
@recommended Workspace and personal recommendations
@popular Popular Marketplace extensions
@featured Featured Marketplace extensions
@recentlyPublished Recently published extensions
@deprecated Extensions marked as deprecated
@workspaceUnsupported Extensions that do not support the current workspace
@category:name Extensions in one category, such as @category:linters
@id:publisher.name One specific extension by its ID
@mcp MCP servers from the gallery
@agentPlugins Agent plugins for AI features

The @sort filter changes the order. It accepts installs, name, publishedDate, rating, and updateDate. Categories with spaces need quotes, as in category:"SCM Providers".

The @deprecated filter deserves a regular glance. Run it with @installed once in a while and you will spot abandoned extensions before they cause trouble.

Extension IDs

Every extension has a unique ID in the form publisher.extension, such as ms-python.python or esbenp.prettier-vscode. You find the ID on the details page under Marketplace Info. IDs are what you put in extensions.json, devcontainer.json, and command-line installs. They are also your best defense against look-alike names, because the display name is easy to fake and the ID is not.

Ways to install

  • The Install button: the normal route. After installing, the button becomes a Manage gear.
  • Quick Open: press Ctrl+P and type ext install publisher.name.
  • Another version: right-click an extension and choose Install Another Version, then pick from the list.
  • A pre-release: open the dropdown on the Install button and choose Install Pre-Release Version.
  • A VSIX file: use Extensions: Install from VSIX from the Command Palette, or the dropdown in the Extensions view. This suits offline machines and private builds.
  • Without syncing: right-click and choose Install (Do not Sync) to keep an extension off your other machines.
  • Workspace recommendations: accept the prompt VS Code shows when you open a project that recommends extensions.

You can also download a VSIX file by right-clicking an extension and choosing Download VSIX or Download Specific Version VSIX. Teams use that to distribute a fixed set of extensions.

Enabling, disabling, and uninstalling

The gear button on an extension opens its management menu. You can disable an extension globally or choose Disable (Workspace) to switch it off for the current project only. The same menu offers Enable (Workspace). This is the right tool for an extension that you want in one project but not in the others.

Two Command Palette commands, Disable All Installed Extensions and Enable All Extensions, flip everything at once. Uninstalling prompts you to restart the extension host. A disabled extension stays listed under @disabled but is never activated.

The command-line interface

The code command manages extensions without opening the editor. This is how you script a new machine or a CI image.

Command What it does
code --list-extensions Lists installed extension IDs
code --list-extensions --show-versions Adds the version number to each line
code --install-extension publisher.name Installs or updates an extension
code --install-extension publisher.name@1.2.3 Installs a specific version
code --install-extension file.vsix Installs a VSIX file
code --install-extension ... --force Skips confirmation prompts
code --uninstall-extension publisher.name Removes an extension
code --update-extensions Updates every installed extension and exits
code --disable-extensions Starts with all extensions switched off
code --extensions-dir <dir> Uses a different extensions folder
code --profile "Name" Opens with a given profile

Repeat --install-extension to install several at once. Add --profile to install into a specific profile instead of the active one. The CLI has one security quirk: an extension installed from the command line does not automatically make its publisher trusted.

Here is a simple script that rebuilds your setup on a new machine.

# On the old machine
code --list-extensions > extensions.txt

# On the new machine
xargs -n 1 code --install-extension < extensions.txt

Where extensions live

Extensions install per user into %USERPROFILE%\.vscode\extensions on Windows and ~/.vscode/extensions on macOS and Linux. Use --extensions-dir or the VSCODE_EXTENSIONS environment variable to move that folder. In portable mode, the data folder overrides it.

3. Updates, Versions, and Pre-Releases

Official docs: Extension Marketplace

Automatic updates

By default VS Code updates extensions in the background. Four settings control the behavior.

Setting Default Meaning
extensions.autoUpdate on Updates enabled extensions automatically. off stops all automatic updates.
extensions.autoUpdateDelay 12 Hours to wait after a release before installing it. 0 installs immediately.
extensions.autoCheckUpdates true Checks for updates and flags outdated extensions in the Extensions view.
extensions.ignoreRecommendations false When true, hides extension recommendation notifications.

Disabled extensions are not updated automatically. They update the next time you enable them. You can also toggle updates for a single extension by right-clicking it and choosing Auto Update. Extensions installed from a VSIX file do not auto-update by default.

The commands Disable Auto Update for Extensions and Enable Auto Update for Extensions flip the global switch. Use Show Extension Updates or Update All Extensions when you prefer to update by hand. If you turned off extensions.autoCheckUpdates, Check for Extension Updates looks on demand. The Update button on any extension skips the delay.

Why the delay exists

Supply chain attacks often arrive as an update to a trusted extension. A delay gives the Marketplace and the security community time to catch a bad release before it reaches you. VS Code 1.123 introduced a two-hour delay for exactly this reason. Version 1.125 made it configurable, and the setting now defaults to 12 hours in the current source and documentation.

Updates from trusted publishers such as Microsoft, GitHub, and OpenAI are exempt from the delay. The 1.123 release notes say those updates install immediately, and the current VS Code source still skips the delay for publishers on the product’s trusted list. If you want a longer cushion for everything else, raise the value. Many people who care about this choose 24 or 48 hours.

Administrators can manage extensions.autoUpdate and extensions.autoUpdateDelay centrally through enterprise policies.

Pinning and rolling back

Sometimes a new release breaks your workflow. You have three options.

  • Install an older version: right-click the extension, choose Install Another Version, and select the release you want.
  • Pin from the command line: run code --install-extension publisher.name@1.2.3.
  • Turn off updates for that extension: right-click it and untick Auto Update.

Companies can go further with extensions.allowed, which accepts version lists such as "dbaeumer.vscode-eslint": ["3.0.0"]. Section 5 shows the full syntax.

Pre-release versions

Many authors publish a pre-release channel. You opt in from the dropdown on the Install button, and you can switch back to the release channel the same way. Pre-releases are useful when a bug fix has not reached the stable channel yet. They are a poor default for a production setup.

4. Organizing Extensions: Profiles, Sync, and Teams

Official docs: Profiles, Settings Sync

The best defense against extension bloat is not uninstalling things. It is installing them only where they matter. VS Code gives you four tools for that: profiles, Settings Sync, workspace recommendations, and remote configuration.

Profiles

A profile is a named bundle of customizations. It stores settings, extensions, keyboard shortcuts, snippets, tasks, MCP servers, UI layout changes, and your color theme. Your current setup is the Default Profile until you create others.

Profiles solve a real problem. A Python data project and an Astro website need almost no extensions in common. Without profiles, every extension loads for both. With profiles, each project opens with only what it needs.

Built-in templates

When you create a profile you can start from a template. The templates are worth browsing even if you never use them, because they show what Microsoft considers the standard toolkit for each stack.

Template Extensions it installs
Python autoDocstring, Container Tools, Even Better TOML, Python, Python Environments, Remote Development, Ruff
Data Science Data Wrangler, Jupyter, Python, Remote Development, Ruff
Doc Writer Code Spell Checker, Markdown Checkboxes, Emoji, Footnotes, Preview GitHub Styling, Mermaid Support, YAML Preamble, markdownlint, Word Count, Read Time
Node.js Container Tools, Dev Containers, DotENV, EditorConfig, ESLint, JavaScript snippets, Jest, Microsoft Edge Tools, npm Intellisense, Prettier, REST Client, YAML
Angular Angular Language Service, Angular Schematics, angular2-switcher, Dev Containers, EditorConfig, ESLint, Jest, Material Icon Theme, Edge Tools, Playwright Test, Prettier, REST Client, YAML
Java General Debugger for Java, IntelliCode, Language Support for Java, Maven for Java, Project Manager for Java, Test Runner for Java
Java Spring Everything in Java General, plus Spring Boot Dashboard, Spring Boot Tools, and Spring Initializr Java Support

Templates need an internet connection. Some of them also tweak settings. The Python template sets Ruff as the default formatter, and the Doc Writer template turns off the minimap and breadcrumbs for a quieter editor.

Creating and switching profiles

Open File > Preferences > Profiles, or use the Manage gear in the Activity Bar. You can copy an existing profile, start from a template, or create an empty one. You can also choose which categories a new profile inherits from the Default Profile.

Switch with Profiles: Switch Profile from the Command Palette, or with the Use this Profile for Current Window button in the Profiles editor. The title bar and the Manage button show which profile is active.

From the command line, code ~/projects/site --profile "Web" opens a folder with a given profile. If that profile does not exist, VS Code creates an empty one with that name.

Folder and workspace associations

You can associate a profile with a folder or workspace. Opening that folder later activates its profile automatically. The Profiles editor lists these links under Folders & Workspaces. If you want to undo them all without deleting any profile, run Developer: Reset Workspace Profiles Associations.

Sharing profiles

Export a profile to a secret GitHub gist or to a local .code-profile file. A gist produces a URL shaped like https://vscode.dev/editor/profile/github/{GUID} that anyone can import. Machine-specific settings, such as local paths, are left out of exports. Import from a gist URL or a file through the dropdown on the New Profile button.

Temporary and shared pieces

Profiles: Create a Temporary Profile makes a throwaway profile named something like Temp 1. It disappears when VS Code closes. I use it to try an unfamiliar extension without touching my real setup.

Some things should be everywhere. The Apply Extension to all Profiles action in the Extensions view makes one extension available in every profile. Apply Setting to all Profiles does the same for a setting, and you can reverse either one.

Profile data lives in %APPDATA%\Code\User\profiles on Windows, $HOME/Library/Application Support/Code/User/profiles on macOS, and $HOME/.config/Code/User/profiles on Linux. Insiders uses a Code - Insiders folder.

One limitation to know about: a profile cannot inherit settings from another profile and then override a few values. That feature request is tracked in the VS Code repository.

Settings Sync

Settings Sync keeps your configuration identical across machines. Turn it on from Backup and Sync Settings in the Manage gear menu. You sign in with a Microsoft or GitHub account. GitHub Enterprise Server and Microsoft Sovereign Cloud accounts are not supported.

What it syncs

Category Notes
Settings User settings, except those with machine or machine-overridable scope
Keyboard shortcuts Synced per operating system by default
Snippets Your user snippets
Tasks User-level tasks only
MCP servers Your MCP server configurations
UI state Display language, Activity Bar and Panel entries, view visibility
Extensions Installed extensions and global enablement states
Profiles Up to 20 synced profiles
Prompts, instructions User prompt files and local agent instructions in your user profile

The big gotcha

Settings Sync does not synchronize extensions to or from a remote window. If you work over SSH, in WSL, or in a dev container, extensions there come from the remote’s own configuration. The remote development part of this section shows how to handle that.

Excluding items and fixing conflicts

Use settingsSync.ignoredExtensions to keep specific extensions out of sync, or right-click an extension and choose Install (Do not Sync). Use settingsSync.ignoredSettings for settings you want to keep local. To share keyboard shortcuts across operating systems, clear the settingsSync.keybindingsPerPlatform setting.

When local and cloud data disagree, sync pauses and offers three choices: Accept Local, Accept Remote, or Show Conflicts to merge manually in a diff editor. Remote backups keep the latest 20 versions of each category. Local backups are deleted after 30 days.

Run Settings Sync: Show Synced Data to see backups and the machines in your account. Settings Sync: Configure changes which categories sync, and Settings Sync: Turn Off disables it.

Settings, keyboard shortcuts, and tasks must each stay under 100 KB. If a category exceeds its limit, Settings Sync disables it. Stable and Insiders use separate sync services by default, and the docs warn that sharing one between them can cause data incompatibility, because Insiders is newer.

Workspace recommendations for teams

A repository can recommend extensions to everyone who opens it. Run Extensions: Configure Recommended Extensions (Workspace Folder) and VS Code creates .vscode/extensions.json. In a multi-root workspace, the recommendations go into the .code-workspace file under extensions.recommendations.

{
  "recommendations": [
    "dbaeumer.vscode-eslint",
    "esbenp.prettier-vscode",
    "editorconfig.editorconfig"
  ],
  "unwantedRecommendations": ["ms-azuretools.vscode-docker"]
}

The unwantedRecommendations list marks extensions you do not want VS Code to suggest for this project. Contributors see a prompt the first time they open the folder. Anyone can dismiss a recommendation from its details page with Ignore Recommendation, or turn the prompts off with extensions.ignoreRecommendations.

Commit this file, because it is the cheapest onboarding tool a team has. It pairs well with an .editorconfig file and a shared formatter configuration.

Extension packs

An extension pack bundles several extensions under one install. The Extension Pack for Java and the Remote Development pack are well-known examples. The details page of a pack has an Extension Pack section that lists the contents. Packs are convenient, but they also install things you may not want, so read the list.

Remote development and dev containers

For remote setups the rules differ. Extensions install on the remote side, in the container, the WSL distribution, or the SSH host. Declare them in devcontainer.json so every contributor gets the same toolchain.

{
  "customizations": {
    "vscode": {
      "extensions": ["dbaeumer.vscode-eslint", "bradlc.vscode-tailwindcss"]
    }
  }
}

You can also right-click any extension and choose Add to devcontainer.json. GitHub Codespaces reads the same file.

Two more tools help here. The dev.containers.defaultExtensions user setting installs a list of extensions into every container you create. A minus sign opts out of an extension that a base image or a Dev Container Feature adds, as in "-dbaeumer.vscode-eslint".

"dev.containers.defaultExtensions": [
  "eamodio.gitlens",
  "mutantdino.resourcemonitor"
]

Because Settings Sync skips remote windows, devcontainer.json and defaultExtensions are your two reliable ways to keep a container consistent. A dev container is also the safest place to open code you do not trust, which I return to in section 5.

5. Extension Security

Official docs: Extension runtime security, Workspace Trust

Treat every extension like software you downloaded and ran as yourself. That is exactly what it is. An extension can read your SSH keys, your .env files, your browser-adjacent folders, and every repository on your disk. The extension host separates processes for stability. It does not sandbox permissions. There is still no true sandbox for extensions, because the extension host runs with the same operating system permissions as VS Code itself.

If you work with secrets, my articles on secrets management and Gitleaks explain what is at stake when a credential leaks.

What the Marketplace does for you

Microsoft runs several protections on the Visual Studio Marketplace.

  • Malware scanning: every new extension and every update goes through several antivirus engines.
  • Dynamic detection: the Marketplace runs extensions in a sandboxed clean-room virtual machine and watches their behavior.
  • Verified publishers: a blue check mark means the publisher proved domain ownership and has been in good standing for at least six months.
  • Usage monitoring: the Marketplace watches download and usage patterns for unusual behavior.
  • Name protection: authors cannot take the names of official publishers such as Microsoft or Red Hat, or of popular extensions.
  • A block list: a verified malicious extension is removed and added to a block list, and VS Code uninstalls it from your machine automatically.
  • Signature verification: the Marketplace signs every extension and VS Code checks the signature when you install.
  • Secret scanning: every newly published extension is scanned for API keys and credentials, and publishing is blocked if any are found.

These layers catch a lot. They do not catch everything, because a clean extension can turn hostile in a later update, which is exactly what several real campaigns have done.

The publisher trust prompt

Since VS Code 1.97, the first install from a third-party publisher shows a dialog that asks you to confirm you trust that publisher. Read it instead of clicking through. You can review your decisions with Extensions: Manage Trusted Extensions Publishers.

Remember that installs through the command line do not trust the publisher automatically.

Signature verification errors

If VS Code cannot verify a package, it refuses the install with the message that it cannot verify the extension signature. The error codes include PackageIntegrityCheckFailed, SignatureIsInvalid, CertificateRevoked, and NotSigned. A setting called extensions.verifySignature can turn the check off. You should almost never do that. Treat it as a last resort, and only for a file whose source you can vouch for. For package integrity problems, the documentation points to vsmarketplace@microsoft.com.

Workspace Trust

Workspace Trust protects you from the project folder instead of the extension. When you open a new folder, VS Code starts in Restricted Mode until you decide to trust it. While in Restricted Mode, VS Code limits the following:

  • AI agents are disabled, because they act on your behalf.
  • The terminal is blocked, so shell initialization scripts cannot run.
  • Tasks and debugging do not run, because they execute binaries named in the workspace.
  • Workspace settings that contain executable paths are ignored.
  • Extensions without Workspace Trust support are limited or disabled.

Extensions declare their level of support in package.json through the untrustedWorkspaces field. The levels are supported, limited, and disabled. You can override a declaration with extensions.supportUntrustedWorkspaces, but you should do that with care.

The main toggle is security.workspace.trust.enabled, and security.workspace.trust.emptyWindow and security.workspace.trust.untrustedFiles shape the edge cases. Manage the list of trusted folders from Workspaces: Manage Workspace Trust. Trust is inherited by subfolders, so trusting a parent folder trusts everything below it. A broad parent such as your home directory defeats the whole feature.

What real attacks looked like

The threat is not theoretical. These incidents come from public security research, and I include them so that the advice in the next section has a reason behind it.

When Where What happened
October 2025 Open VSX and VS Code Marketplace GlassWorm appeared as a self-spreading worm. It hid code with invisible Unicode characters and used the Solana blockchain for command and control. Microsoft removed a flagged extension after researchers alerted it.
December 2025 Marketplace and Open VSX Checkmarx Zero removed fake extensions that imitated tools such as Catppuccin, Roo Cline, and Quarto. They carried no payload yet and looked built to gain installs first. Install counts looked inflated against real downloads.
January to April 2026 Open VSX Researchers reported more GlassWorm waves, including established extensions that turned malicious in an update, and batches of sleeper extensions.
Early 2026 VS Code forks Several forks recommended extensions that did not exist in Open VSX. That left those names open for anyone to claim.
July to August 2026 Open VSX Researchers reported 77 look-alike extensions that collected system and development environment data. They were removed within days.

Two lessons repeat across these cases. First, attackers imitate popular names, so the extension ID and the publisher matter more than the display name. Second, a trusted extension can change hands or be compromised, so an update is a risk even when the install was safe.

The Eclipse Foundation, which runs Open VSX, announced pre-publish security checks in response. It scanned new packages without blocking them in February 2026 and began enforcing in March 2026.

A practical vetting checklist

Run through this list before you install anything unfamiliar. It takes two minutes.

  1. Check the ID: Confirm the publisher.extension ID matches the project you meant to install.
  2. Look for the blue check. A verified publisher is a strong signal, although not a guarantee.
  3. Compare age and installs. A brand new extension with thousands of installs is suspicious.
  4. Find the source: A linked repository with real history, issues, and a license is a good sign.
  5. Read the permissions it implies. An extension that tells you it only changes colors has no business running shell commands.
  6. Check the last update. Abandoned extensions do not get security fixes.
  7. Read recent reviews and the Q & A tab. Complaints about strange behavior show up there first.
  8. Prefer fewer, bigger names. Every extra extension is extra trust you are extending.

Habits that reduce risk

  • Keep the update delay. Do not set extensions.autoUpdateDelay to 0, and consider 24 hours or more.
  • Uninstall what you do not use. A disabled extension is safer than an active one, and an uninstalled one is safer still.
  • Use profiles: A throwaway or low-trust profile limits what a risky extension can see in your daily setup.
  • Open unknown code in a container. A dev container or a temporary profile with Workspace Trust enabled keeps strangers away from your real files.
  • Keep secrets out of reach. Use a credential manager instead of plain .env files in folders that you open with many extensions active.
  • Audit now and then. Section 12 gives a routine.

Reporting a bad extension

Open the extension’s Marketplace page and use the Report a concern link at the bottom of the More Info section. The Marketplace team says it gives an initial response within one business day.

Company controls

Administrators can restrict which extensions are installable with the extensions.allowed setting. If it is not set, everything is allowed. If it is set, only the listed items install.

"extensions.allowed": {
  "microsoft": true,
  "github": true,
  "esbenp.prettier-vscode": true,
  "ms-azuretools.vscode-containers": false,
  "dbaeumer.vscode-eslint": ["3.0.0"],
  "rust-lang.rust-analyzer": ["5.0.0@win32-x64", "5.0.0@darwin-x64"],
  "redhat": "stable"
}

That example allows two whole publishers, allows one extension by ID, blocks another, pins a version, pins a version per platform, and limits a publisher to stable releases. More specific rules win over broader ones, and "*" is the only wildcard. Deploy the AllowedExtensions policy through device management and it overrides user settings.

GitHub Enterprise customers can also run a Private Marketplace with self-hosting, upstreaming of public extensions, and group policy rollout. On Windows you can preinstall VSIX files by placing them in a bootstrap\extensions folder in the VS Code installation directory.

Finally, remember that the telemetry.telemetryLevel setting does not silence extensions. Extensions follow their own telemetry policies, so read the privacy notes of anything that phones home. A time tracker such as WakaTime, for example, exists specifically to send your activity data to a service.

6. Performance and Troubleshooting

Official docs: VS Code performance issues wiki, Command line

When VS Code feels slow, extensions are the first suspect. The good news is that VS Code ships tools to find the culprit without guessing.

Step 1: find out whether extensions are the cause

Start with code --disable-extensions. Every installed extension stays visible in the Disabled section of the Extensions view but never activates. If the problem disappears, an extension is responsible. If it stays, look elsewhere.

You can get the same effect inside a running window with Developer: Reload With Extensions Disabled.

Step 2: look at what is running

  • Process Explorer: open it from Help > Open Process Explorer. A continuously updating list shows each VS Code process and its CPU use. High CPU in the extensionHost process points to an extension.
  • Running Extensions: run Developer: Show Running Extensions to see every active extension and its startup cost.
  • The extension host profiler: start it from the Running Extensions editor. It records CPU activity and produces a profile you can read in VS Code or in Chrome DevTools.
  • Startup performance: run Developer: Startup Performance for a timing breakdown of every startup phase, which exposes extensions that slow down launch. Launching with code --performance enables the command.
  • Status output: code --status prints process usage and diagnostics from a running instance.
  • CPU profile of startup: code --prof-startup runs the CPU profiler during launch.

Step 3: bisect

When you have dozens of extensions and no obvious villain, let VS Code search for you. Run Help: Start Extension Bisect. VS Code disables half of your extensions, asks whether the problem persists, and repeats. A handful of rounds identifies the extension responsible.

Step 4: fix it

  • Disable it for the workspace if you only need it elsewhere.
  • Move it into a profile where it belongs.
  • Check its settings: The VS Code FAQ notes that opening a folder with many files can use a lot of CPU. Excluding large or generated folders with files.exclude helps.
  • Replace it with a lighter alternative or a built-in feature.
  • Isolate it: The experimental extensions.experimental.affinity setting runs a chosen extension in a separate extension host process, which can keep one heavy extension from stalling the others.

Common problems and fixes

Symptom Likely cause and fix
Slow startup Extensions that activate on startup. Check Startup Performance and move them into a profile.
High CPU with the editor idle A language server indexing a large folder. Exclude folders or disable the extension for this workspace.
An extension does nothing in a container or over SSH It is installed locally, not on the remote. Install it in the remote window or add it to devcontainer.json.
My extensions are missing on a new machine Settings Sync is off, or you are in a remote window. Turn sync on, or declare the extensions in the project.
Two extensions fight over formatting Set one default formatter per language, using editor.defaultFormatter, and disable the other.
An install fails with a signature error Re-download the package. If it persists, contact the Marketplace team. Avoid turning off extensions.verifySignature.
A feature stopped working after an update Install an older version through Install Another Version and turn off Auto Update for that extension.
Extensions will not install behind a proxy Configure the proxy in VS Code. Alternatively, download a VSIX file elsewhere and install it manually.
An extension I do not recognize appeared Check @installed, uninstall it, review your trusted publishers, and see section 5.

Isolating a clean environment

For a bug report, or to test a fresh setup, run VS Code with its own data folders.

code --user-data-dir ./tmp-user --extensions-dir ./tmp-ext

The --user-data-dir option keeps settings and state separate, so you can run isolated instances with their own extensions. It is the quickest way to reproduce a problem that only appears with a particular combination of extensions.

7. A Curated Extension Catalog

Official docs: Visual Studio Marketplace

This catalog lists extensions I consider worth knowing. I verified each ID and each “last update” date on the Marketplace on October 6, 2026. I left install counts out of the tables because they change daily and say little about quality.

How to read the tables: the last column shows the month of the most recent release. A recent date means active maintenance. An old date is not automatically bad, since some small tools are simply finished, but it deserves a second look. I have flagged the ones that are stale or in maintenance mode. The data was last verified on October 6, 2026. Projects move into maintenance mode or change owners, so check the Marketplace listing before you install anything.

I do not suggest installing everything below. Pick a few per category, and put them into profiles as section 9 shows.

Essentials for almost any project

Extension ID What it does and why Last update
EditorConfig editorconfig.editorconfig Applies .editorconfig rules so every editor on a team uses the same whitespace. 2026-04
Error Lens usernamehw.errorlens Shows diagnostics inline at the end of the line instead of only in the Problems panel. 2026-09
Code Spell Checker streetsidesoftware.code-spell-checker Catches typos in code, comments, and strings. It understands camelCase words. 2026-10
Material Icon Theme pkief.material-icon-theme File and folder icons that make a project tree easier to scan. 2026-10
vscode-icons vscode-icons-team.vscode-icons An alternative icon set with many file types. 2026-09
Path Intellisense christian-kohler.path-intellisense Autocompletes file paths in imports and strings. 2024-11
Project Manager alefragnani.project-manager Saves and switches between favorite project folders. 2026-03
Bookmarks alefragnani.bookmarks Lets you mark lines in files and jump between them. 2026-04

Formatting and linting

Extension ID What it does and why Last update
Prettier esbenp.prettier-vscode An opinionated formatter for JavaScript, TypeScript, CSS, HTML, Markdown, and more. 2026-03
ESLint dbaeumer.vscode-eslint Surfaces ESLint problems in the editor and fixes them on save. Published by Microsoft. 2026-07
Biome biomejs.biome One fast tool for formatting and linting web code, as an alternative to Prettier plus ESLint. 2026-08
markdownlint davidanson.vscode-markdownlint Style and consistency checks for Markdown files. 2026-08
ShellCheck timonwong.shellcheck Lints shell scripts and catches common mistakes. 2026-10
YAML redhat.vscode-yaml Schema validation and completion for YAML, which helps with CI files and Kubernetes manifests. 2026-10
Even Better TOML tamasfe.even-better-toml TOML support for pyproject.toml, Cargo.toml, and similar files. Last released in late 2024. 2024-12

Pick one formatter per language. Two formatters that both claim a file produce flip-flopping changes. Set editor.defaultFormatter per language in your settings and keep editor.formatOnSave on.

Git and collaboration

Extension ID What it does and why Last update
GitLens eamodio.gitlens Inline blame, history, rich hovers, and branch and stash views. See the pricing note below. 2026-10
GitHub Pull Requests github.vscode-pull-request-github Review and manage pull requests and issues without leaving the editor. 2026-10
GitHub Actions github.vscode-github-actions Edit workflows with validation and view runs from the editor. 2026-07
GitLab Workflow gitlab.gitlab-workflow Merge requests, issues, and pipelines for GitLab users. 2026-10
GitHub Repositories github.remotehub Browse and edit a GitHub repository remotely, without cloning. Marked as a preview. 2026-08
Git Graph mhutchie.git-graph A visual commit graph. It still works, but the last release was in April 2021. 2021-04
Live Share ms-vsliveshare.vsliveshare Real-time collaborative editing and debugging. It is in maintenance mode with no new features planned. 2026-04

GitLens pricing: GitLens Community is free and open source. It includes blame annotations, rich hovers, CodeLens, file and line history, the Git command palette, and views for commits, branches, remotes, stashes, tags, worktrees, and contributors. It also has search and compare, the interactive rebase editor, and integrations with hosts such as GitHub, GitLab, Jira, and Gitea. The Commit Graph, Worktrees, and Visual History are free on public repositories with a free GitKraken account. GitLens Pro unlocks them on private repositories and adds AI features, the Pull Requests panel, Launchpad, and agent sessions. If you only want blame, the free tier is plenty. For hosting choices, see my guide to choosing a Git host.

Web development

Extension ID What it does and why Last update
Astro astro-build.astro-vscode Language support for .astro files, with highlighting, diagnostics, and completions. 2026-08
Tailwind CSS IntelliSense bradlc.vscode-tailwindcss Class autocomplete, hover previews, and linting. Published by Tailwind Labs. 2026-07
Vue (Official) vue.volar The official Vue language tooling. 2026-10
Svelte for VS Code svelte.svelte-vscode Svelte language support. 2026-08
Angular Language Service angular.ng-template Template completion and diagnostics for Angular. 2026-09
MDX unifiedjs.vscode-mdx Language support for MDX files. 2026-08
Prisma prisma.prisma Syntax, formatting, and completion for Prisma schemas. 2026-09
Live Preview ms-vscode.live-server Microsoft’s local server with a preview pane. Marked as a preview. 2026-09
Live Server ritwickdey.liveserver The long-running community alternative for live reload. 2026-02
Microsoft Edge Tools ms-edgedevtools.vscode-edge-devtools Browser DevTools and an embedded browser view for debugging inside VS Code. 2026-09
Playwright Test ms-playwright.playwright Run and debug Playwright tests from the editor. 2026-04
Vitest vitest.explorer Run and debug Vitest tests with editor integration. 2026-09
Jest orta.vscode-jest Runs Jest tests continuously and shows results inline. Last released in mid-2025. 2025-06
Deno denoland.vscode-deno Language support for Deno projects. 2026-09
Bun for Visual Studio Code oven.bun-vscode Debugger and tooling for Bun projects. 2025-12
Thunder Client rangav.vscode-thunder-client A lightweight REST client inside the editor. The Marketplace flags it as a trial, so check which features need a license. 2026-09
REST Client humao.rest-client Sends HTTP requests from .http files. It works well but was last released in 2022. 2022-08

If you run an Astro site like this one, Astro, Tailwind CSS IntelliSense, and markdownlint are the core trio. I covered the rest of my toolchain in what I use daily.

Python and data

Extension ID What it does and why Last update
Python ms-python.python The core extension. It detects interpreters and environments and runs your code. 2026-10
Pylance ms-python.vscode-pylance Microsoft’s language server with type checking and fast IntelliSense. 2026-09
Python Debugger ms-python.debugpy Breakpoints and variable inspection for Python programs. 2026-10
Python Environments ms-python.vscode-python-envs A unified view of virtual environments and interpreters. 2026-10
Ruff charliermarsh.ruff A very fast linter and formatter, published by Astral. 2026-09
Jupyter ms-toolsai.jupyter Notebook support for .ipynb files. 2026-07
Black Formatter ms-python.black-formatter Black formatting. Many people now choose Ruff instead. Marked as a preview. 2026-09
Rainbow CSV mechatroner.rainbow-csv Colors CSV columns and lets you query them. 2026-01

The Python template in the profiles list uses Ruff for formatting, and my own setup on this site lists Python, Pylance, and the Python Debugger. You need only one formatter from the Black and Ruff pair.

Systems languages and other stacks

Extension ID What it does and why Last update
rust-analyzer rust-lang.rust-analyzer The standard Rust language server. 2026-10
Go golang.go The official Go extension from the Go team at Google. 2026-08
C/C++ ms-vscode.cpptools IntelliSense and debugging for C and C++. 2026-10
clangd llvm-vs-code-extensions.vscode-clangd An alternative C and C++ language server from LLVM. 2026-05
CMake Tools ms-vscode.cmake-tools Configure, build, and debug CMake projects. 2026-09
C# Dev Kit ms-dotnettools.csdevkit Microsoft’s official C# tooling. Check its license terms for commercial work. 2026-09
Extension Pack for Java vscjava.vscode-java-pack Bundles IntelliSense, debugging, testing, and Maven or Gradle support. 2026-06
Language Support for Java redhat.java The Red Hat language server that powers the Java pack. 2026-09
PHP Intelephense bmewburn.vscode-intelephense-client PHP code intelligence. Some features need a paid license. 2026-06
Dart and Flutter dart-code.dart-code, dart-code.flutter Language, debugging, and mobile tooling for Flutter. I use these for Android work. 2026-09
PowerShell ms-vscode.powershell PowerShell editing and debugging. 2026-06
HashiCorp Terraform hashicorp.terraform Terraform editing support. 2026-07
Kubernetes ms-kubernetes-tools.vscode-kubernetes-tools Browse and manage clusters and manifests. 2026-07

Containers and remote development

Extension ID What it does and why Last update
Remote - SSH ms-vscode-remote.remote-ssh Open any folder on a remote machine over SSH with the full VS Code experience. 2026-09
WSL ms-vscode-remote.remote-wsl Work inside a Windows Subsystem for Linux distribution. 2025-10
Dev Containers ms-vscode-remote.remote-containers Open a folder in a container defined by devcontainer.json. 2026-09
Remote Development ms-vscode-remote.vscode-remote-extensionpack A pack that bundles the remote extensions for SSH, containers, and WSL. 2024-10
Remote - Tunnels ms-vscode.remote-server Connect to a remote machine through a secure tunnel. 2026-09
Remote Explorer ms-vscode.remote-explorer A view of your SSH and tunnel machines. 2026-03
Container Tools ms-azuretools.vscode-containers Build, manage, and deploy containers. Microsoft maintains it. 2026-09
Docker DX docker.docker Authoring support for Dockerfiles, Compose files, and Bake files, published by Docker. 2025-10

Docker’s tooling changed in 2025. Microsoft moved the code of the original Docker extension into Container Tools. Docker published a separate Docker DX extension that adds Dockerfile linting, Compose outline navigation, and Bake file support. For a new setup, install Container Tools for managing containers and Docker DX for writing the files. Both are free and open source.

Databases

Extension ID What it does and why Last update
SQLTools mtxr.sqltools A multi-database client with a query runner. Needs drivers. 2026-07
SQLite Viewer qwtel.sqlite-viewer Opens SQLite files as browsable tables. 2026-09
SQL Server (mssql) ms-mssql.mssql Microsoft’s client for SQL Server and Azure SQL. 2026-09
PostgreSQL ms-ossdata.vscode-pgsql Microsoft’s extension for PostgreSQL. 2026-10
Hex Editor ms-vscode.hexeditor Inspect and edit binary files. 2024-11

Themes

Themes are matters of taste, so here are the well-maintained ones. Catppuccin (catppuccin.catppuccin-vsc, 2026-05) and One Dark Pro (zhuangtongfa.material-theme, 2026-08) are both actively updated. The Dracula Theme Official (2024-07) and the GitHub Theme (2024-10) are stable but quiet. Pair any of them with an icon theme from the essentials table.

Productivity extras

Extension ID What it does and why Last update
Peacock johnpapa.vscode-peacock Colors each window differently so you can tell projects apart. 2026-09
Todo Tree gruntfuggly.todo-tree Collects TODO and FIXME comments in a tree. Last released in 2023. 2023-04
Better Comments aaron-bond.better-comments Colors comments by category. Last released in 2022. 2022-07
Vim vscodevim.vim Vim keybindings and modes inside VS Code. 2025-12
Code Runner formulahendry.code-runner Runs a snippet or file in many languages with one click. Last released in 2024. 2024-04
WakaTime wakatime.vscode-wakatime Tracks coding time. It sends activity data to the WakaTime service by design. 2026-06

A few older favorites are no longer needed. Auto Rename Tag (last released in 2022) is replaced by the built-in editor.linkedEditing setting for HTML. Bracket pair colorizers are redundant because VS Code colorizes bracket pairs natively.

Security and quality scanners

Extension ID What it does and why Last update
SonarQube for IDE sonarsource.sonarlint-vscode Local analysis for JavaScript, TypeScript, Python, Java, C#, C and C++, Go, and PHP. 2026-09
Snyk Security snyk-security.snyk-vulnerability-scanner Scans code and dependencies for vulnerabilities. 2026-09

Scanners work best next to a pre-commit or CI check. See my Gitleaks guide for secret scanning, which these two do not replace.

Retired or declining extensions

  • IntelliCode: Microsoft archived the repository in November 2025 and deprecated the extension. The AI-ranked completions and inline suggestions are gone, and Microsoft’s direction is toward Copilot.
  • Tabnine (Legacy): the Marketplace listing says it no longer onboards new users to this plugin.
  • Docker (the old extension): its code moved into Container Tools, as described above.
  • Quiet projects: Git Graph, REST Client, Todo Tree, Better Comments, Code Runner, Path Intellisense, Hex Editor, and Even Better TOML still work. Each has gone more than 18 months without a release, so keep an eye on them and know the alternatives.

8. AI Extensions and MCP Servers

Official docs: GitHub Copilot in VS Code, MCP servers in VS Code, Agent plugins

AI changed what an extension can be. Some of the most installed extensions are now agents that read your code, run commands, and edit files across a project. On October 6, 2026, the Marketplace showed more than 78 million installs for Copilot Chat and about 27 million for Claude Code. That raises the stakes for the security advice in section 5.

Copilot is built in

Starting with VS Code 1.116, GitHub Copilot Chat is a built-in extension. New users get chat, inline suggestions, and agents without a separate install. The release notes state that existing users are not affected, and an installed Copilot extension keeps working as before. Without a paid subscription you are enrolled in the Copilot Free plan, which includes a monthly allowance of inline suggestions and AI credits.

If you want no AI at all, set chat.disableAIFeatures at user or workspace level. It disables and hides chat and inline suggestions, and it turns off the Copilot extensions. Changes at user level survive updates. Workspace Trust also disables AI agents in Restricted Mode.

The VS Code documentation describes Copilot as one agent harness among several, alongside Anthropic Claude and OpenAI. You can delegate tasks to cloud agents that return pull requests, or work in the Chat view locally. You can also bring your own API key or connect a local model. Version 1.125 added the ability to discover and install extra model providers through the Marketplace.

Other AI agent extensions

Extension ID Notes Last update
Claude Code for VS Code anthropic.claude-code Anthropic’s agent with inline diffs, plan review, and checkpoints. Needs a paid plan, a Console account, or a cloud provider. 2026-10
Codex openai.chatgpt OpenAI’s coding agent. The listing says it is included in ChatGPT Plus, Pro, Business, Edu, and Enterprise plans. 2026-10
Gemini Code Assist google.geminicodeassist Google’s assistant for VS Code. 2026-09
Amazon Q amazonwebservices.amazon-q-vscode Amazon’s assistant, with a focus on AWS development. 2026-10
Cline saoudrizwan.claude-dev An open-source agent with bring-your-own-key model choice and MCP support. 2026-09
Roo Code rooveterinaryinc.roo-cline A community agent in the same family as Cline. 2026-05
Kilo Code kilocode.kilo-code An open-source coding agent with autocomplete. 2026-10
Continue continue.continue An open-source AI code agent that works with many models. 2026-06

For a feature-by-feature comparison, see my AI-powered IDEs guide. A single article cannot cover all of them, so I will focus on the one I have studied in depth.

The Claude Code extension

The Claude Code extension gives the agent a native graphical interface inside VS Code. It needs VS Code 1.94.0 or later and an Anthropic account. Any paid Claude plan or a Claude Console account works, and no API key is required.

  • Opening it: click the Spark icon in the editor toolbar, or use the Spark icon in the Activity Bar to see your sessions list.
  • Context: Claude sees your selected text automatically. Press Alt+K (Option+K on macOS) to insert an @-mention such as @file.ts#5-10 into the prompt.
  • Focus: Ctrl+Esc (Cmd+Esc on macOS) toggles focus between the editor and the Claude prompt.
  • Checkpoints: hover over a message to rewind code, rewind the conversation, or fork the conversation and rewind code.
  • Tabs: you can run several conversations in separate tabs or windows.
  • Terminal mode: the claudeCode.useTerminal setting switches from the graphical panel to the CLI-style interface.
  • Permissions: claudeCode.initialPermissionMode sets the starting mode to default, plan, acceptEdits, or bypassPermissions. VS Code reads it from user settings and ignores workspace values. The Bypass permissions mode appears in the selector only when claudeCode.allowDangerouslySkipPermissions is turned on, and the docs advise using that only in sandboxes with no internet access.
  • Location: claudeCode.preferredLocation chooses the sidebar or a panel tab.

My Claude Code deep dive covers permissions, hooks, skills, and costs in depth.

MCP servers in VS Code

The Model Context Protocol lets an agent talk to external tools such as databases, issue trackers, and browsers. VS Code treats MCP servers as first-class citizens.

  • Install from the gallery: open the Extensions view and search @mcp. Choose Install for your user profile, or right-click for Install in Workspace.
  • Add one by hand: run MCP: Add Server for a guided flow.
  • From the command line: use code --add-mcp with a JSON configuration to add a server to your user profile.
  • Configuration files: the workspace file is .vscode/mcp.json with a top-level servers object. A portable .mcp.json at the project root uses an mcpServers object. Run MCP: Open User Configuration for the user file.
  • Management: MCP: List Servers shows and manages what is installed, and MCP: Reset Trust clears your trust decisions.

MCP servers are code that your agent runs. Servers defined in a workspace inherit Workspace Trust, and other sources trigger their own trust prompts when a server starts or its configuration changes. On macOS and Linux, you can sandbox locally running stdio servers by setting "sandboxEnabled": true in the server entry of mcp.json. A top-level sandbox object then lists the file paths and network domains the server may use. The documentation states that sandboxing is currently not available on Windows. Never accept an mcp.json from a repository that you have not read.

Agent plugins

Agent plugins are a separate idea from extensions. A plugin bundles AI customizations: skills, custom agents, MCP servers, hooks, slash commands, and automation templates. Install them from the Extensions view with @agentPlugins, from Chat: Open Customizations, or from a Git repository with Chat: Install Plugin From Source.

The related settings are chat.plugins.enabled, chat.plugins.marketplaces, and chat.pluginLocations. Some pieces, such as automation templates and agent-scoped hooks, are still previews. Because plugins can bundle hooks that run shell commands, apply the same caution you would to any extension.

How the pieces fit together

Three layers are easy to confuse. Built-in Copilot is the baseline chat and agent experience that ships with VS Code. Extensions such as Claude Code, Codex, and Cline are separate agents with their own sign-in, billing, and settings. MCP servers are tool providers that an agent can call, and some agent extensions keep their own MCP configuration, so check where each one reads its servers from.

VS Code 1.140 shows where the baseline is heading. It added a Copilot harness on an Agent Host Protocol, multi-folder agent sessions, delegation of tasks to connected remote hosts, and MCP servers stored in portable configuration files. Expect this area to keep changing monthly.

Choosing wisely

You do not need five AI extensions. You want one primary agent, not several competing ones. Pick one agent for editing and delegated tasks, and keep Copilot or none for inline completion. Two assistants that both try to complete your line at once will fight each other. Whatever you choose, keep your secrets out of the prompt, and read each vendor’s data policy before you point an agent at private code.

9. Starter Setups by Stack

Official docs: VS Code Profiles

Here are lean starting points. Each fits a profile, so you can create one per row. Add extensions only when you feel a real need.

Profile Extensions to start with
Web and Astro Astro, Tailwind CSS IntelliSense, Prettier, ESLint, EditorConfig, markdownlint, Code Spell Checker
Node and TypeScript ESLint, Prettier or Biome, Vitest or Jest, Error Lens, EditorConfig, Dev Containers
Python Python, Pylance, Python Debugger, Python Environments, Ruff, Jupyter if you use notebooks
Data science Python, Jupyter, Pylance, Ruff, Rainbow CSV, SQLite Viewer
Rust or Go rust-analyzer or Go, Error Lens, Even Better TOML, Code Spell Checker
C and C++ C/C++ or clangd (not both), CMake Tools, Error Lens
Java Extension Pack for Java, plus the Spring tools if you use Spring
.NET C# Dev Kit, EditorConfig, Error Lens
Mobile with Flutter Dart, Flutter, Error Lens
DevOps Container Tools, Docker DX, YAML, HashiCorp Terraform, Kubernetes, GitHub Actions, ShellCheck
Writing and docs markdownlint, Code Spell Checker, Markdown Mermaid support, a Markdown preview tweak
Minimal Only a theme and an icon theme, for quick edits and demos

Remember that a profile cannot inherit from another profile and then override a few values, so keep shared pieces in the Default Profile or apply them to all profiles. Everyone can add the Git pair, GitLens and GitHub Pull Requests, as profile-independent extensions with Apply Extension to all Profiles.

A project-level example

For a repository like this site, a shared .vscode/extensions.json could look like the following.

{
  "recommendations": [
    "astro-build.astro-vscode",
    "bradlc.vscode-tailwindcss",
    "davidanson.vscode-markdownlint",
    "esbenp.prettier-vscode",
    "editorconfig.editorconfig",
    "streetsidesoftware.code-spell-checker"
  ]
}

A hardened user settings example

These settings reflect the advice in sections 3 and 5.

{
  "extensions.autoUpdate": "on",
  "extensions.autoUpdateDelay": 24,
  "extensions.ignoreRecommendations": false,
  "security.workspace.trust.enabled": true,
  "telemetry.telemetryLevel": "off",
  "settingsSync.ignoredExtensions": ["wakatime.vscode-wakatime"]
}

The autoUpdateDelay value of 24 gives a day’s protection against a bad release. The ignored extension in the last line stays out of sync, so it only runs on machines where you installed it on purpose.

10. Building and Publishing Your Own Extension

Official docs: Your first extension, Publishing extensions

Writing an extension is easier than most people expect. A small one that adds a command takes an afternoon.

Scaffold and run

The generator is a Yeoman template. You can run it without installing anything globally.

npx --package yo --package generator-code -- yo code

Choose New Extension (TypeScript) and answer the prompts. Press F5 to open the Extension Development Host, a second VS Code window with your extension loaded. Edit src/extension.ts, then run Developer: Reload Window in the host window to see the change.

The manifest

Five fields in package.json matter most.

  • name and publisher: together they form your extension ID.
  • engines.vscode: the minimum VS Code version you support.
  • activationEvents: when your extension loads. Keep it narrow to protect startup time.
  • contributes.commands: the commands you add to the Command Palette.
  • main: the entry point of your compiled code.

Package and publish

Install the packaging tool with npm install -g @vscode/vsce. Register a publisher on the Visual Studio Marketplace publisher management page, then use these commands.

Task Command
Package a VSIX file vsce package
Publish vsce publish
Bump the version and publish vsce publish minor, or vsce publish 1.1.0
Publish a pre-release vsce publish --pre-release
Publish for specific targets vsce publish --target win32-x64 win32-arm64
Unpublish vsce unpublish publisher.extension

Pre-releases use plain major.minor.patch numbers, since semver tags are not supported. The convention is even minor numbers for releases and odd minor numbers for pre-releases, for example 0.2.* for stable and 0.3.* for pre-release. Platform-specific packages can target win32-x64, win32-arm64, linux-x64, linux-arm64, linux-armhf, alpine-x64, alpine-arm64, darwin-x64, darwin-arm64, and web.

Authentication has changed

This is the part to read carefully. The old route used a Personal Access Token from Azure DevOps with the Marketplace (Manage) scope. The documented steps create that token with the organization set to All accessible organizations, which is the global kind that is being retired. The publishing documentation states that global Personal Access Tokens in Azure DevOps are retired on December 1, 2026. The recommended replacement is Microsoft Entra ID with a managed identity and workload identity federation, which removes long-lived secrets. You then publish with vsce publish --azure-credential. Action required before December 1, 2026: if a release pipeline still uses a classic PAT, move it to Entra ID and vsce publish --azure-credential before the retirement date.

Becoming a verified publisher

The blue check mark requires at least six months of published extensions, a domain registered for at least six months, and proof of domain ownership through a DNS TXT record. Microsoft says it reviews requests within five business days.

Publishing outside the Marketplace

Open VSX serves forks of VS Code. The VS Code publishing guide does not cover it, so check the Open VSX documentation and its ovsx tool if you want your extension on both registries. Publishing to both from your release pipeline is the only reliable way to reach users of each. Open VSX keeps its own namespaces, and a namespace must exist before you can publish to it. Create yours with npx ovsx create-namespace <name> and ask for owner status, which also removes the warning label from your listing. Claiming the namespace early also stops someone else from publishing under your name there.

11. Forks, Open VSX, and Licensing

Official docs: VS Code FAQ

VS Code is two things. The source code lives in the Code - OSS repository under the MIT license. The product Microsoft distributes uses a traditional Microsoft product license with proprietary customizations. VS Code is free for private and commercial use.

The Visual Studio Marketplace has its own terms. The FAQ states that alternative products, including those built on a fork of Code - OSS, are not permitted to access the Marketplace. It is for use only by the Visual Studio family: Microsoft Visual Studio, Visual Studio Code, GitHub Codespaces, Azure DevOps, Azure DevOps Server, and successor products. Microsoft justifies the rule with security, quality, and API compatibility.

Forks such as Cursor and Windsurf therefore use other registries, mainly Open VSX, which the Eclipse Foundation runs. That has practical effects.

  • Availability differs: an extension that is published only to the Microsoft Marketplace is missing on Open VSX, unless its author publishes to both.
  • Versions lag: an extension may be updated on the Marketplace first.
  • Namespaces matter: the early 2026 research found forks recommending extensions that did not exist on Open VSX, which left the names open to impostors.
  • Security maturity differs: Open VSX added pre-publish scanning in 2026, after several malware waves. Be more careful there, not less.

My AI-powered IDEs guide notes that Cursor is a VS Code fork with broad extension compatibility. Compatibility means most extensions load, not that the Marketplace itself is available.

If you want the real Marketplace and the full set of Microsoft extensions, use VS Code itself. If you use a fork, install from its supported registry or from a VSIX file obtained from a source you trust.

12. A Maintenance Routine

Official docs: Extension Marketplace

Extensions decay over time, because authors move on, products change hands, and you forget why you installed something. A quarterly check keeps the list honest. It takes about fifteen minutes.

  1. List what you have. Run code --list-extensions --show-versions and save the output.
  2. Remove strays: Uninstall anything you cannot explain, using @installed to review each one.
  3. Check for deprecation: Search @installed @deprecated and replace what shows up.
  4. Look at the dates. Open each unfamiliar extension and check its last update. If it is more than two years old, ask whether a built-in feature or a maintained alternative exists.
  5. Review trust: Open Extensions: Manage Trusted Extensions Publishers and prune publishers you no longer use.
  6. Profile the rest: Move extensions that only matter to one stack into a profile.
  7. Measure: Open Developer: Show Running Extensions and look at the heaviest few. Decide whether each earns its place.
  8. Check your policy: Confirm that the update delay is in place and that Workspace Trust is still on.
  9. Back up the profile. Export your main profile to a .code-profile file or a gist so you can rebuild quickly.

13. Frequently Asked Questions

How many extensions is too many?

There is no magic number. A few extensions that activate on startup can cost more than fifty that stay dormant. Measure with Developer: Show Running Extensions instead of counting.

Are extensions free?

Most extensions are free, but some have paid tiers, such as GitLens Pro, PHP Intelephense, and Thunder Client, or are included in a subscription, as with Codex. Read the Marketplace listing and licensing notes first.

Do disabled extensions slow VS Code down?

A disabled extension is not activated, so it does not run. Uninstalling still reduces your attack surface and keeps the list clean.

How do I find an extension’s ID?

Open its details page and look under Marketplace Info. You can also run code --list-extensions to print the IDs of everything installed.

Why does VS Code ask whether I trust a publisher?

Since version 1.97, the first install from a third-party publisher shows a trust dialog. It is a deliberate checkpoint. Review the publisher before you confirm.

Why are my extensions missing in WSL, SSH, or a container?

Extensions install per environment. Settings Sync does not sync extensions to or from remote windows. Declare them in devcontainer.json, use dev.containers.defaultExtensions, or install them from the Extensions view while connected.

How do I install an extension without internet access?

Download the VSIX file from a connected machine with Download VSIX, copy it across, and install it with Extensions: Install from VSIX or code --install-extension file.vsix. VSIX installs do not auto-update by default, so you must update them yourself.

Can I use the Visual Studio Marketplace from Cursor or VSCodium?

No, you cannot use it there. The Marketplace terms allow only the Visual Studio family of products. Forks use Open VSX or VSIX files.

How do I stop one extension from updating?

Right-click it in the Extensions view and untick Auto Update. To go back to an older release, use Install Another Version.

Do I need Copilot?

No, you do not. It is built in for new installs since 1.116, but you can set chat.disableAIFeatures to turn off the built-in AI features. You can also use a different agent.

How can I report a malicious extension?

Use the Report a concern link at the bottom of the More Info section on its Marketplace page. The team responds within one business day.

Does the telemetry setting cover extensions?

No, it does not. telemetry.telemetryLevel silences VS Code itself, but extensions follow their own policies. Check the privacy notes of the ones you install.

Should I use Settings Sync or profiles?

You should use both together. Profiles decide which extensions load for which kind of work. Settings Sync copies those profiles to your other machines, up to 20 of them.

What replaces IntelliCode?

Microsoft deprecated it in late 2025 and points developers toward Copilot. If you want completions without a subscription, look at the Copilot Free plan or an open-source agent such as Continue or Cline.

14. Conclusion

Extensions are what make VS Code worth using, and they are also what can make it slow or unsafe. A few habits cover most of the risk.

Keep your list small and intentional. Use profiles so that each project loads only what it needs. Read the publisher and the ID before you install, and keep the update delay on. Open untrusted code in Restricted Mode, a temporary profile, or a container. Measure slow behavior with the built-in tools instead of guessing.

If you want to keep going from here, my guide to AI-powered IDEs compares the agents that now live inside editors. The Claude Code deep dive goes further on one of them. And if you are still choosing between editors, the IDEs guide maps the whole landscape.

15. References

VS Code documentation

Release notes

Extension and security sources


Back to All Posts
Share this post:
Share on X
Share on LinkedIn
Share on Reddit
Share on Facebook
Copy Link
Copied!