Visual Studio Code 1.149
Downloads for 1.149.0
Release highlights
A faster, more capable editor at the core of all your workflows. This week, opt in to smoother scrolling and faster, lighter syntax highlighting, and preview PDFs right in VS Code. When it's time to review, catch hidden secrets with agentic security reviews.
-
Editor performance: Try GPU-accelerated rendering for smoother scrolling, and faster syntax highlighting with WebAssembly.
-
PDF preview: Open PDF documents right in VS Code with text search, outline navigation, zoom, and side-by-side diffs in Source Control.
-
Model routers: Create and manage model routers without writing YAML.
-
Dev Containers: Reuse your Git credentials, continue editor chats without starting over, and try WSL containers without Docker.
-
Review changes: Pick a different base branch for comparing agent work.
-
Secrets detection: Catch unstructured credentials like passwords with
/security-review.
Already installed? Use Check for Updates in VS Code. For upcoming features, use the Insiders build.
Editor performance
The core editor is key to a smooth and responsive experience in VS Code. In this release, we've made performance improvements for syntax highlighting and rendering.
Faster syntax highlighting with WebAssembly (Experimental)
Setting: editor.textMateWebAssembly
In large files, it can take a while before the whole file is highlighted. In this release, you can opt in to a new WebAssembly build of vscode-textmate, the library that highlights code with TextMate grammars, compiled from its new Rust port.
The new experience produces the same colors as before, runs two to three times faster for most languages, and uses about half the memory to track each line. Some of the gain comes from the Rust port, but most comes from changes to Oniguruma, the regular expression library that TextMate grammars use. These changes speed up searches without changing their results. The pull request for the Rust port describes these changes and has more measurements.


To try it, enable editor.textMateWebAssembly and run Developer: Reload Window. VS Code reads this setting when the window starts, and it applies to all languages in the window.
If a file is highlighted differently with the setting on, let us know by filing an issue.
GPU rendering in the editor (Experimental)
Setting: editor.experimentalGpuAcceleration
In this release, you can try an experimental GPU-accelerated renderer that reduces CPU work per frame and keeps scrolling smooth in large or dense editors. Written in Rust and compiled to WebAssembly, it draws the editor with your GPU instead of the DOM.
Don't expect ordinary files to feel different: DOM rendering was already very fast, and in the first video, both renderers scroll at 120 frames per second. What changes is how much work each frame takes. GPU rendering used 27% less CPU time to scroll an ordinary file, and 57% less in a file with long lines and word wrap off, where DOM rendering needs many elements for each line. It also used less GPU time in both cases, but more when every frame shows a new screen of code, as when you drag the scrollbar through a large file.
The more the editor has to draw, the more GPU rendering helps. We filled a window the size of a 5K display with code in a 10 px font, with whitespace rendering, bracket pair guides, inlay hints, and thousands of find matches. Both renderers still scrolled it at 120 frames per second, GPU rendering with half the CPU time. But when every frame showed a new screen of that code, as when you drag the scrollbar, DOM rendering dropped to 68 frames per second, while GPU rendering kept 115. And with the window's main thread slowed down four times, to approximate a slower computer, DOM rendering scrolled at 43 frames per second and GPU rendering at 114.
Both videos were measured on a MacBook Pro (M5 Pro, 120 Hz).
To try it, set
editor.experimentalGpuAcceleration
to on. Open editors switch to the new renderer right away. If the renderer fails in a window, the editor goes back to DOM rendering until you reload the window. Let us know how it works for you by filing an issue.
Agents
Agents in Dev Containers
Settings: chat.agentHost.devContainer.credentialForwarding.enabled , chat.agentHost.devContainer.discovery.enabled , chat.agentHost.devContainer.containerEngine
This release adds several improvements for running agent sessions in Dev Containers:
-
Use your Git credentials ( chat.agentHost.devContainer.credentialForwarding.enabled ): Dev Container sessions automatically receive your Git configuration, credentials, and SSH and GPG agents, so agents can push, access private repositories, and sign commits without signing in again. Sessions with terminal sandboxing receive only your Git user name and email. Learn more about Git credentials in Dev Containers.
-
Continue chats from Dev Container editor windows: Select Open in Agents Window from the Chat view's ... menu to continue the current chat instead of starting a new one. Enable the experimental chat.agentHost.devContainer.discovery.enabled setting to also list these chats in the Agents window. Learn more about continuing Dev Container chats.
-
Run with WSL containers (Experimental) ( chat.agentHost.devContainer.containerEngine ): On Windows, Dev Containers in the Agents window can run with WSL containers (
wslc, in WSL 2.9.3 and later) instead of Docker. Set this setting towslc, or toaskto choose when both are available. Without Docker, WSL containers are used automatically. Learn more about choosing a container engine.
Change the base branch for Branch Changes
The Branch Changes changeset in the Agents window compares the session's work against the base branch recorded when the session started. That base isn't always the right one to review against.
You can now choose a different base branch for Branch Changes by opening the changeset dropdown in the Changes view, hovering over the Branch row, and selecting the pen icon.
Arrange sessions with the keyboard
Setting: sessions.splitSizing
When you have several sessions side by side in the Agents window, you can now arrange them with the keyboard. These are the same shortcuts you already use for editor groups. On macOS, use Cmd instead of Ctrl.
- Ctrl+K, then an arrow key: swap the session with the one next to it.
- Ctrl+K, then Shift and an arrow key: move the session next to the other one, changing the layout.
- Ctrl+K, then =: make all sessions the same size. This also works for editor groups.
- Ctrl+K Ctrl+M: let one session take up all the space. Press it again to go back.
You can also drag a session by its title onto another one to swap them.
To keep all sessions the same size as you open and close them, set
sessions.splitSizing
to distribute.
Add pull request comments from the Agents window (Experimental)
Settings: chat.experimental.agentsWindowPRComments , chat.experimental.agentsWindowEditorComments
Previously, you had to switch to GitHub to leave a review comment on a session's pull request. With chat.experimental.agentsWindowPRComments and chat.experimental.agentsWindowEditorComments enabled, you can comment on a line in the pull request diff in the Agents window and select Add PR Comment to post it to the pull request instead of sending it to the agent.

Separate test files in the Changes view
Setting: sessions.changes.testFilePatterns
When reviewing an agent's changes in the Agents window, test files are mixed alphabetically with implementation files in the Changes view and multi-file diff editor. You can now separate test files to simplify reviewing implementation changes.
Select Separate Test Files from the Toggle Details dropdown, the Files View submenu, or the Changes view title menu:
- Matching test files group into a collapsible Test Files section with a file count badge in list view, tree view, Floating Details, and modal diff sidebars.
- In multi-repository sessions, test files are grouped within each repository.
- The Changes multi-file diff editor reorders diffs to match, placing test diffs after source files.
Default patterns in
sessions.changes.testFilePatterns
cover common test conventions across TypeScript, JavaScript, Python, Go, Rust, C, C++, Ruby, C#, Java, Kotlin, PHP, Swift, and standard test folders. The setting uses the same glob-map format as
files.exclude
, so you can add project-specific patterns or set any default pattern to false in user or workspace settings. Learn more about separating test files and customizing patterns.
Chat
Model router configuration editor (Experimental)
Setting: chat.copilot.modelRouter.enabled
Since we introduced model routers in 1.147, we've made them easier to find, create, and understand. With a model router, you describe which model you want for which kind of work, and the router picks the model for a chat from those routes.
Your routers now have their own Routers tab in the model picker. You can pick one there, open its details to see its routes, or select New Router to add one without leaving the chat. Searching the model picker finds your routers along with your models. To start every new chat on a router, set
chat.defaultModel
to model-router: followed by the router's file name without .model-router.yaml, such as model-router:daily-driver.
You also no longer have to write a router as a YAML file. Run Chat: Manage Language Models from the Command Palette and select the new Model Routers tab to see and search all your routers and their routes. Select Add Router to create one in a form: give it a name and a description, and for each route choose a model, describe when to use it, and optionally add guidance for the agent. From the same list, you can turn on Route switching, which lets a chat move to another route when the work clearly changes, or refine a router with Edit with AI.

And when you wonder why a router picked a route, you can now look. The routing line above a response says which route and model the router picked. Select it to open the router's decisions beside the chat: the routes that were offered, the score the decision model gave each one, what was sent along with your message, and how long the decision took.
Model routers are still experimental, and your feedback shapes where they go next. Tell us which routes work for you and where a router picked the wrong one by filing an issue.
Detect secrets with security review (Preview)
Setting: chat.copilot.securityReview.secretDetection.enabled
When running an agentic security review with /security-review in Copilot harness sessions, you can opt in to also detect credentials without a recognizable token format, such as passwords, using GitHub's purpose-built secret detection model. The setting applies to new and resumed sessions and requires preview features to be allowed by your organization. Learn more about secret scanning.
The scan is off by default and consumes AI credits under the Secret Protection AI Credit SKU.
Real-time chat response statistics (Experimental)
Settings: chat.responseStats , chat.responseStatsTokens
When an agent works on a long task, it's hard to tell how long it has been running or whether it's still producing output.
While a response runs, the progress indicator at the bottom of the response shows the working time and the output tokens after the progress message, for example Bribing the hamster · 47s · 879 tokens. The working time excludes the time spent waiting for your confirmation.
Use these settings to change what the stats show:
-
chat.responseStats
: Show the stats after the progress message (
progressWithMessage, the default), in place of the progress message (progress), next to the chat title (title), or not at all (off). -
chat.responseStatsTokens
: Show the output speed of the latest model call in tokens per second (
speed, the default in Stable), such as62 tk/s, or the output tokens of the response so far (count, the default in Insiders), as in the video. The speed appears only when the agent reports model call timing.
Editor experience
Preview PDF files
PDF files now open in a read-only preview, instead of a message that the file is binary. The preview uses PDF.js and works on desktop and in VS Code for the Web. If you installed an extension that opens PDF files, it still opens them.
- Search the document with Ctrl+F. The matches are highlighted and counted.
- Go to a page by its number or label with Ctrl+G, or to a section of the document's outline with Ctrl+Shift+O.
- Zoom from the editor title or the status bar, or with Ctrl and the mouse wheel.
- Select and copy text, and follow the document's links.
On macOS, use Cmd instead of Ctrl, except for Ctrl+G.
When the file changes on disk, the preview reloads and keeps your place. When you open a changed PDF from the Source Control view, the two versions show side by side.
Duplicate integrated browser tabs
You can now right-click an integrated browser tab and select Duplicate Tab to open the same page in a new tab next to it.
Keyboard shortcuts match your keyboard layout on Wayland
Setting: keyboard.waylandKeymap
On Linux in a Wayland session, keyboard shortcuts could run the wrong command when your keyboard layout wasn't a US layout. VS Code got the layout from XWayland, which often reports a US layout or one you used earlier. For example, on a French AZERTY layout, Ctrl+Z closed the editor instead of undoing, and on Programmer Dvorak, the Toggle Terminal shortcut zoomed in.
In this release, VS Code reads the layout from the Wayland compositor. Shortcuts run the command they're bound to, and menus and the Keyboard Shortcuts editor show them with the characters of your layout. If you replace your layout with another one while VS Code is running, for example, from French to German, shortcuts follow the new layout without a restart. Learn more about how VS Code handles keyboard layouts.
This applies when your keymap has one layout. A keymap with several layouts, such as us,ru, is still read from XWayland, as before. GNOME adds the layout of your system language to the keymap, so on GNOME this applies when your layout matches your system language, such as when both are German.
To read the layout from XWayland again, set
keyboard.waylandKeymap
to false and restart VS Code. Reloading the window isn't enough, because VS Code reads this setting at startup.
Deprecated features and settings
New deprecations in this release
None
Upcoming deprecations
- The Local harness is deprecated and will be removed in February 2027.
Thank you
Contributions to vscode:
- @jimmylewis (Jimmy Lewis): Support Marketplace-native deprecation for extensions PR #346881
- @wasim-builds (MOHAMMED WASIM KHAN): fix(terminal): avoid expired ServicesAccessor when creating terminal in multi-folder workspace PR #350912
- @rparth07 (Parth Raiyani): feat: add support for duplicate tab functionality PR #340912
Issue tracking
Contributions to our issue tracking:
We really appreciate people trying our new features as soon as they are ready, so check back here often and learn what's new.
If you'd like to read release notes for previous VS Code versions, go to Updates on code.visualstudio.com.