Visual Studio Code 1.149 was released on 2 December 2026. The release notes group the update around a “faster, more capable editor”. There are two experimental performance features you can switch on today: WebAssembly syntax highlighting and GPU rendering. PDFs now open in a built-in preview. And agent work gets several upgrades: Dev Container sessions can use your Git credentials, and you can pick a different base branch when reviewing what an agent changed.
Here’s what’s worth turning on, with the exact settings, plus a few changes Linux and Windows users should know about.
1. Faster syntax highlighting with WebAssembly (experimental)
VS Code highlights code with TextMate grammars through the vscode-textmate library. This release lets you try a WebAssembly build compiled from its new Rust port. The release notes say it produces the same colours, runs two to three times faster for most languages, and uses about half the memory per line. Most of the gain comes from changes to Oniguruma, the regex library grammars use.
Turn it on in settings.json, then run Developer: Reload Window:
{
"editor.textMateWebAssembly": true
}
The setting is read when the window starts and applies to every language in that window. You’ll notice the difference most in very large files, where highlighting used to fill in gradually. If any file is coloured differently, the team asks you to file an issue.
2. GPU rendering in the editor (experimental)
A new renderer, written in Rust and compiled to WebAssembly, draws the editor with your GPU instead of the DOM:
{
"editor.experimentalGpuAcceleration": "on"
}
Open editors switch straight away. If the renderer fails, that window goes back to DOM rendering until you reload. The release notes are honest that ordinary files won’t feel different, because DOM rendering was already fast. What changes is the work per frame. In their tests on a MacBook Pro (M5 Pro, 120 Hz), GPU rendering used 27% less CPU scrolling an ordinary file and 57% less in a file with long lines and word wrap off. Their stress test, a 5K-sized window full of 10 px code with guides, inlay hints and thousands of find matches, held 115 fps while dragging the scrollbar, against 68 fps for DOM rendering.
If you work on a slower laptop or in huge generated files, it’s worth a try.
3. Preview PDF files
PDFs used to show a “binary file” message. Now they open in a read-only preview powered by PDF.js, on desktop and in VS Code for the Web:
- Ctrl+F searches the document, with highlighted and counted matches
- Ctrl+G goes to a page, and Ctrl+Shift+O jumps through the document outline
- Zoom from the title bar, the status bar or Ctrl+mouse wheel
- Select and copy text, and follow links
When the file changes on disk, the preview reloads and keeps your place. If you open a changed PDF from Source Control, the two versions appear side by side. That’s handy for generated reports or docs in a repo. Extensions you’ve installed for PDFs still take priority.
4. Agents in Dev Containers
If you run agent sessions inside Dev Containers, three improvements arrive:
{
"chat.agentHost.devContainer.credentialForwarding.enabled": true,
"chat.agentHost.devContainer.discovery.enabled": true,
"chat.agentHost.devContainer.containerEngine": "ask"
}
- Use your Git credentials: sessions automatically get your Git config, credentials, and SSH and GPG agents. Agents can push, reach private repos and sign commits without signing in again. Sessions with terminal sandboxing only get your Git user name and email, which is a sensible security limit.
- Continue chats: choose Open in Agents Window from the Chat view’s … menu to carry on the current chat instead of starting a new one. The experimental discovery setting also lists these chats in the Agents window.
- WSL containers instead of Docker (experimental): on Windows, Dev Containers in the Agents window can run with WSL containers (
wslc, in WSL 2.9.3 and later). Set the engine towslc, oraskto choose when both are available. Without Docker installed, WSL containers are used automatically.
5. Better review of agent changes
Several smaller changes make it easier to review what an agent did:
- Change the base branch: the Branch Changes view compares against the base recorded when the session started. You can now pick a different base from the changeset dropdown. Hover over the Branch row and select the pen icon.
- Separate test files: choose Separate Test Files to group tests into their own collapsible section, with test diffs placed after source files. The patterns live in
sessions.changes.testFilePatternsand use the same glob format asfiles.exclude:
{
"sessions.changes.testFilePatterns": {
"**/tests/Feature/**": true,
"**/*.spec.ts": true
}
}
- Arrange sessions with the keyboard: Ctrl+K then an arrow key swaps sessions. Ctrl+K = makes them all the same size. Ctrl+K Ctrl+M maximises one. Set
sessions.splitSizingtodistributeto keep sizes equal automatically. - PR comments from the Agents window (experimental): with
chat.experimental.agentsWindowPRCommentsandchat.experimental.agentsWindowEditorCommentsenabled, Add PR Comment posts a line comment to the pull request instead of sending it to the agent.
6. Chat: model routers without YAML, and live stats
- Model router editor (experimental,
chat.copilot.modelRouter.enabled): routers now have their own tab in the model picker. You can create them in a form under Chat: Manage Language Models, and the routing line above a response shows why a route was chosen. To start every chat on a router, setchat.defaultModeltomodel-router:<file-name>. - Secret detection in
/security-review(preview):chat.copilot.securityReview.secretDetection.enabledadds GitHub’s secret-detection model to catch credentials without a recognisable format, such as passwords. It’s off by default, needs your organisation to allow preview features, and uses AI credits. - Response stats (experimental):
chat.responseStatsandchat.responseStatsTokensshow working time and tokens or tokens per second while a response runs.
7. Linux: shortcuts follow your Wayland keyboard layout
On Wayland, non-US layouts used to trigger the wrong commands. The notes give the example of Ctrl+Z closing the editor on French AZERTY. VS Code now reads the layout from the Wayland compositor (keyboard.waylandKeymap). This applies to single-layout keymaps. To go back to the old behaviour, set it to false and restart VS Code. Reloading the window isn’t enough.
Deprecations
There are no new deprecations in 1.149. The release repeats that the Local harness is deprecated and will be removed in February 2027.
Takeaway
VS Code 1.149 is worth a few minutes of setup. Turn on editor.textMateWebAssembly and editor.experimentalGpuAcceleration if you work in big files. Enjoy the built-in PDF preview. And if agents work in your Dev Containers, enable credential forwarding and test-file separation for smoother reviews. Full details are in the official 1.149 release notes.
