Microsoft’s Visual Studio Code editor has reached version 1.126, which is highlighted by a new security mode for untrusted code. Also with the new release, VS Code now displays total cost for chat sessions (instead of just for individual turns) and allows users to manage multiple chats side-by-side in a single agent host session.

Published June 24, VS Code 1.26 can be downloaded from code.visualstudio.com.

VS Code 1.26 introduces a new security enhancement, Workspace Trust, that lets users decide whether project folders can automatically run code and adds a layer of security when working with unfamiliar code. Previously, opening a new folder immediately raised a dialog asking the user whether to trust the folder before they could look at its contents. Now, new folders open in Restricted Mode to prevent automatic code execution. Developers can browse the code safely first and then choose whether to trust the folder.

Simplified model hovering also is featured in VS Code 1.126. The model hover now shows a one-word descriptor of the model’s capabilities and includes deep link buttons that take a user directly to the relevant configuration.

In an enhancement to the Agents window, the dedicated companion window for exploring agent sessions across projects and machines, a Copilot session started from an agent host now can hold several chats at once. Because the chats share the same session and working context, users can keep more than one conversation going in the same workspace at the same time.

VS Code 1.126 joins what is now a weekly update release schedule for the editor, which began in March. Recent versions of VS Code, emphasizing capabilities such as AI and agents, have included the following:

  • VS Code 1.25, released June 17, can use an integrated browser to have web traffic proxied via the remote connection. This lets developers securely connect to any ports or services that are only accessible from the remote machine.
  • VS Code 1.24, released June 10, purports to make it faster to work across agent sessions and gives agents more autonomy to finish tasks.
  • VS Code 1.23, released June 3, adds support for 1M context windows for Anthropic and OpenAI models.
  • VS Code 1.122, released May 28, further enhances the agent experience and extends the BYOK (Bring Your Own Key) mode for running AI models. Developers can use their own language models even when not connected.
  • VS Code 1.121, released May 20, introduces experimental support for running agent sessions on a remote machine from the Agents window.
  • VS Code 1.120, released May 13, brings the Agents window to Stable, improves BYOK model visibility and control, and adds Markdown quality-of-life improvements and agent safety features.