You open a huge file. You start scrolling. The colors take a moment to catch up, and your editor feels like it's thinking about its life choices. ๐
We've all been there, and it's exactly the kind of small friction that adds up over a long coding day.
Visual Studio Code 1.149, released on December 2, 2026, goes right at that problem. It brings two opt-in performance experiments (GPU rendering and faster syntax highlighting), a built-in PDF preview, easier model routers, and several upgrades for agent workflows.
So what's actually new in VS Code 1.149, and which parts are worth turning on today? Let's walk through it together. ๐
What Is VS Code 1.149?
VS Code ships updates regularly, and VS Code 1.149 is the December 2026 release. Think of it like a new season of your favorite show: some episodes are big headline moments, and some are small details that quietly make life nicer.
The release notes group the update into these areas:
- Editor performance: smoother scrolling and faster syntax highlighting (both experimental and opt-in)
- Agents: improvements for Dev Containers, the Agents window, and reviewing agent work
- Chat: a model router editor, secrets detection, and live response stats
- Editor experience: PDF preview, duplicate browser tabs, and better keyboard shortcuts on Wayland
Already have VS Code installed? Use Check for Updates to get it. If you want to see upcoming features early, there's also the Insiders build.
Why VS Code 1.149 Matters
Your editor is the one tool you touch all day. If it's a little slow or awkward, you feel it hundreds of times. If it gets a little faster or smarter, you feel that too.
This release matters for a few practical reasons:
- Big files get less painful. Syntax highlighting can now be faster and lighter on memory.
- You stay in one place. Opening a PDF without leaving VS Code saves you a lot of window switching.
- Agent workflows get safer and clearer. You can review against the right branch, and scan for credentials like passwords.
- You get more control. Model routers no longer require hand-written YAML.
One honest note: several of the biggest features here are marked Experimental or Preview. That means you can try them, but you should treat them as "help us test this" features rather than "set and forget" ones.
The Best Features in VS Code 1.149 (With Real-Life Examples)
1. Faster syntax highlighting with WebAssembly โก
Setting: editor.textMateWebAssembly (Experimental)
Syntax highlighting is what turns plain text into colorful code. VS Code uses a library called vscode-textmate for this, and now you can opt in to a new WebAssembly build of it, compiled from a Rust port.
According to the release notes, it 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. Most of the gain comes from changes to Oniguruma, the regular expression library that TextMate grammars use.
Some numbers from the release notes:
- A 201,040-line JavaScript file went from 9.0 seconds to 3.5 seconds to tokenize.
- Keeping the state of every line of that file took 70 MB instead of 130 MB (46% less).
- After tokenizing 123 files in 58 languages, the whole process used 446 MB instead of 937 MB (52% less).
Real-life example: You open a generated or bundled JavaScript file with hundreds of thousands of lines. Previously you might wait for the colors to fill in. With this setting on, that wait should be shorter.
To try it, enable editor.textMateWebAssembly, then run Developer: Reload Window. VS Code reads this setting when the window starts.
2. GPU rendering in the editor ๐ฅ๏ธ
Setting: editor.experimentalGpuAcceleration (Experimental)
Normally, the editor draws your code using the DOM, which is the same system web pages use. The new renderer is written in Rust, compiled to WebAssembly, and draws the editor with your GPU instead.
Here's the important part: don't expect ordinary files to feel different. The release notes are clear that DOM rendering was already very fast, and both renderers scroll at 120 frames per second in a normal file. What changes is how much work each frame takes:
- 27% less CPU time to scroll an ordinary file
- 57% less CPU time in a file with long lines and word wrap off
In a deliberately heavy test (a 5K-display-sized window of code in a 10 px font, with whitespace rendering, bracket pair guides, inlay hints, and thousands of find matches), dragging the scrollbar dropped DOM rendering to 68 frames per second, while GPU rendering kept 115. With the main thread slowed down four times to mimic a slower computer, DOM rendering scrolled at 43 frames per second and GPU rendering at 114.
These were measured on a MacBook Pro (M5 Pro, 120 Hz), so your results may differ.
Real-life example: You're working on a laptop with a busy editor, lots of inlay hints, and long lines. GPU rendering is designed to take pressure off the CPU in exactly that situation.
Set editor.experimentalGpuAcceleration to on, and open editors switch right away. If the renderer fails in a window, the editor falls back to DOM rendering until you reload.
3. PDF preview inside VS Code ๐
PDF files now open in a read-only preview instead of showing a "this file is binary" message. It uses PDF.js and works on desktop and in VS Code for the Web.
What you can do:
- Search with
Ctrl+F(matches are highlighted and counted) - Jump to a page with
Ctrl+G, or to an outline section withCtrl+Shift+O - Zoom from the editor title, the status bar, or
Ctrl+ mouse wheel - Select and copy text, and follow links
On macOS, use Cmd instead of Ctrl, except for Ctrl+G.
The preview also reloads when the file changes on disk and keeps your place. If you open a changed PDF from Source Control, the two versions show side by side.
Real-life example: You're building a feature from a PDF spec. Instead of bouncing between a PDF reader and your editor, you keep both in VS Code and search the spec as you code.
If you already have an extension that opens PDFs, it still takes over, so nothing breaks.
4. Model routers without YAML ๐งญ
Setting: chat.copilot.modelRouter.enabled (Experimental)
A model router lets you describe which model should handle which kind of work, and then it picks a model for each chat from your routes. Model routers arrived in 1.147, and this release makes them easier to manage:
- A new Routers tab in the model picker, where you can pick a router, view its routes, or select New Router
- A Model Routers tab in Chat: Manage Language Models, where Add Router opens a form (name, description, and for each route a model, when to use it, and optional guidance for the agent)
- Route switching, which lets a chat move to another route when the work clearly changes
- Edit with AI to refine a router
- A routing line above each response showing which route and model was picked, and a view of the router's decision details beside the chat
You can also start every new chat on a router by setting chat.defaultModel to model-router: followed by the router's file name without .model-router.yaml, for example model-router:daily-driver.
Real-life example: You want one model for quick questions and another for bigger refactors. Instead of switching manually every time, you describe those two routes once and let the router choose.
5. Secrets detection with /security-review ๐
Setting: chat.copilot.securityReview.secretDetection.enabled (Preview)
When you run an agentic security review with /security-review in Copilot harness sessions, you can now opt in to also detect credentials without a recognizable token format, such as passwords. It uses GitHub's purpose-built secret detection model.
Two things to know up front:
- The scan is off by default.
- It consumes AI credits under the Secret Protection AI Credit SKU, and it requires preview features to be allowed by your organization.
Real-life example: A hardcoded password sneaks into a config file during a late-night fix. Tokens with obvious formats are easier to spot, but a plain password isn't. This is aimed at that gap.
6. Agent improvements in Dev Containers and the Agents window ๐ค
If you work with agent sessions, there's a lot here:
-
Git credentials in Dev Containers (
chat.agentHost.devContainer.credentialForwarding.enabled): sessions receive your Git configuration, credentials, and SSH and GPG agents, so agents can push, access private repos, and sign commits without signing in again. Sessions with terminal sandboxing receive only your Git user name and email. -
Continue chats from Dev Container windows: choose Open in Agents Window from the Chat view's
...menu to continue the current chat instead of starting over. -
WSL containers (Experimental): on Windows, Dev Containers in the Agents window can run with WSL containers (
wslc, WSL 2.9.3 or later) instead of Docker, usingchat.agentHost.devContainer.containerEngine. - Pick a different base branch for Branch Changes: open the changeset dropdown in the Changes view, hover over the Branch row, and select the pen icon.
-
Separate test files (
sessions.changes.testFilePatterns): group test files into a collapsible section so you can review implementation changes first. -
Keyboard shortcuts for arranging sessions: for example
Ctrl+Kthen an arrow key swaps a session with its neighbor. - PR comments from the Agents window (Experimental): post a comment straight to the pull request instead of sending it to the agent.
Real-life example: An agent's work was compared against the wrong base branch, so the diff looks confusing. Now you can change the base and review the changes that really matter.
7. Small upgrades that are easy to love ๐
-
Real-time chat response stats (Experimental): while an agent works, the progress indicator can show working time and output tokens, like
Bribing the hamster ยท 47s ยท 879 tokens. Settings:chat.responseStatsandchat.responseStatsTokens. - Duplicate integrated browser tabs: right-click a tab and select Duplicate Tab.
-
Better shortcuts on Wayland (Linux): VS Code now reads your keyboard layout from the Wayland compositor, so shortcuts run the command they're bound to. For example, on French AZERTY,
Ctrl+Zused to close the editor instead of undoing. You can turn this off withkeyboard.waylandKeymap, then restart VS Code.
Comparison: Old Way vs New Way in VS Code 1.149
Here's a quick side-by-side for the two performance experiments:
| Default | Opt-in in 1.149 | |
|---|---|---|
| Syntax highlighting | JavaScript build of vscode-textmate
|
WebAssembly build (editor.textMateWebAssembly) |
| Reported result | Baseline | Same colors, about 2 to 3x faster for most languages, about half the memory per line |
| Editor rendering | DOM rendering | GPU rendering (editor.experimentalGpuAcceleration) |
| Reported result | Already very fast (120 fps on an ordinary file) | Less CPU work per frame; biggest wins on dense, heavy editors |
Not every language gets the same boost. In the release notes' chart, Rust is about 3.1x faster, while CSS is about 1.3x. So "faster" is real, but the amount depends on the language.
Best Tips for Trying VS Code 1.149
โ Do
- Update first. Use Check for Updates, then try one new setting at a time.
- Reload after enabling WebAssembly highlighting. Run Developer: Reload Window so the setting takes effect.
- Test on your heaviest files. Big files with long lines are where these performance features are meant to shine.
- Report problems. If a file is highlighted differently with the setting on, or the GPU renderer misbehaves, file an issue. The team asks for exactly that.
- Read what a setting costs. Secrets detection uses AI credits, so check your organization's setup before enabling it.
โ Don't
- Don't expect a miracle on small files. The notes say ordinary files won't feel different.
- Don't enable everything at once. If something feels off, you won't know which setting caused it.
- Don't treat experimental as final. These features can change, so keep your expectations flexible.
- Don't assume PDF preview is an editor. It's read-only.
Common Mistakes People Make
1. Enabling editor.textMateWebAssembly and skipping the reload.
It's an easy one to miss. VS Code reads this setting when the window starts, so you need Developer: Reload Window.
2. Expecting GPU rendering to change everything.
The big gains are in CPU work per frame and in dense or heavy editors. In a normal file, both renderers already scroll at 120 frames per second.
3. Turning on secrets detection without knowing it's metered.
It's off by default and uses AI credits. Know that before you flip the switch.
4. Wondering why PDF preview isn't opening.
If you already installed an extension that opens PDF files, that extension still handles them.
5. Forgetting that Wayland changes depend on your keymap.
The new behavior applies when your keymap has one layout. A keymap with several layouts, like us,ru, is still read from XWayland. On GNOME, it applies when your layout matches your system language.
6. Missing the upcoming deprecation.
Nothing is newly deprecated in this release, but the Local harness will be removed in February 2027. If you rely on it, plan ahead.
Conclusion
Visual Studio Code 1.149 is a practical release. It gives you two ways to make the core editor lighter and smoother (GPU rendering and WebAssembly syntax highlighting), a handy built-in PDF preview, simpler model routers, and thoughtful upgrades for anyone working with agents and Dev Containers.
The key takeaways:
- GPU rendering and WebAssembly highlighting are experimental and opt-in, so test them on your own machine.
- PDF preview keeps your reference documents right next to your code.
- Model routers are now easier to build, and you can see why a route was picked.
- Secrets detection can catch things like passwords, but it's off by default and uses AI credits.
Try one feature, see how it feels, and share feedback if something looks off. That's how good tools get better. ๐ก
If this post helped you, you'll find more developer-friendly guides at hamidrazadev.com. Share it with a teammate who still scrolls through giant files in silence, and tell me in the comments: which VS Code 1.149 feature will you try first? ๐
Top comments (0)