VS Code 1.149: Faster Highlighting, GPU Scrolling and PDF Preview, and What to Try First
Originally published on The Weekly Signal. Visual Studio Code 1.149 was released on December 2, 2026. The team's release highlights name two opt-in editor performance features, a built-in PDF preview, a model router e
Originally published on The Weekly Signal.
Visual Studio Code 1.149 was released on December 2, 2026. The team's release highlights name two opt-in editor performance features, a built-in PDF preview, a model router editor, Git credential forwarding for agent sessions in Dev Containers, and a preview setting that scans for secrets such as passwords during /security-review. This post goes through the items with numbers or settings attached, and what is worth trying on a spare window first.
Faster syntax highlighting with WebAssembly
The release notes describe an experimental WebAssembly build of vscode-textmate, compiled from a new Rust port, enabled with the setting editor.textMateWebAssembly followed by Developer: Reload Window. The team says it produces the same colors, runs two to three times faster for most languages, and uses about half the memory to track each line.
- Their chart lists speedups from 1.3x (CSS) to 3.1x (Rust). For JavaScript, tokenizing 201,040 lines went from 9.0 seconds to 3.5 seconds.
- Keeping the state of every line of that JavaScript 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).
- If a file looks different with the setting on, the team asks for an issue report.
The chart redraws the numbers the team lists in the description of its own chart. We did not measure anything ourselves.
GPU rendering in the editor
The setting editor.experimentalGpuAcceleration set to on switches the editor to a renderer written in Rust and compiled to WebAssembly. The notes are careful about what to expect:
- Ordinary files should not feel different. In the team's first video, both renderers scroll at 120 frames per second.
- 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.
- In a stress case filled with code at a 10 px font, dragging the scrollbar dropped DOM rendering to 68 frames per second while GPU rendering kept 115. With the main thread slowed four times, the notes give 43 against 114 frames per second.
- The measurements were taken on a MacBook Pro (M5 Pro, 120 Hz). If the renderer fails in a window, the editor goes back to DOM rendering until you reload.
PDF preview
PDF files now open in a read-only preview that uses PDF.js, on desktop and in VS Code for the Web. The notes list text search (Ctrl+F), go to page (Ctrl+G), outline navigation (Ctrl+Shift+O), zoom, text selection and links. When you open a changed PDF from Source Control, the two versions show side by side. An installed extension that opens PDFs still takes over.
Agents, chat and security review
-
Dev Containers. Agent sessions can receive your Git configuration, credentials, and SSH and GPG agents through
chat.agentHost.devContainer.credentialForwarding.enabled. Sessions with terminal sandboxing get only your Git user name and email. An experimental setting lets Windows users run Dev Containers in the Agents window with WSL containers (wslc, WSL 2.9.3 and later) instead of Docker. - Branch Changes. You can pick a different base branch to review an agent session against.
- Model routers. An experimental editor to create and manage routers without writing YAML, with a view of the routes offered and the score the decision model gave each.
-
Secrets detection (Preview).
chat.copilot.securityReview.secretDetection.enabledadds detection of credentials without a recognizable token format, such as passwords, to/security-review. It is off by default and the notes say it consumes AI credits under the Secret Protection AI Credit SKU. - Deprecation. The Local harness is deprecated and will be removed in February 2027. The notes list no new deprecations in this release.
What to check first
- Highlighting. Turn on
editor.textMateWebAssemblyin a profile with your usual languages, reload, and compare a large file against your current build. Report differences as the team asks. - GPU renderer. Try it on the machine and display you actually use. The gains described are largest in dense or long-line files and smaller in ordinary ones.
- Extensions that open PDFs. Confirm your PDF extension still wins, if you rely on one.
- Cost. Before enabling secret detection for a team, check what the AI credit charge means for your plan.
- Local harness. If you use it, plan for the February 2027 removal.
What we did not verify
- We did not install VS Code 1.149 or run any of the settings. Every figure comes from the official release notes and was measured by the VS Code team on their own hardware.
- The chart figures come from the text description of the team's charts, not from raw data.
- We did not check pricing for the Secret Protection AI Credit SKU or which plans include it.
- We covered the items the notes highlight, not every entry on the page.
Sources
- Visual Studio Code 1.149 release notes (December 2, 2026)
- microsoft/vscode release 1.149.0 on GitHub (published December 2, 2026)
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.

