Microsoft has released a new version of Visual Studio Code, version 1.138, introducing three key features: the ability to run agent sessions in development containers, extended support for Codex in the agent host, and a preview of a session cleanup tool. Visual Studio Code is a popular integrated development environment (IDE) created by Microsoft that supports multiple operating systems and web browsers. It includes tools for debugging, code completion, version control with Git, and allows users to customize themes, shortcuts, and install extensions that enhance its functionality, including support for other programming languages.
One of the new features allows developers to run agent sessions in local development containers. This means the agent can use the project’s specific environment and dependencies rather than those of the user’s local machine. This feature requires Docker to be installed and is being rolled out gradually, so it may not be enabled by default. Users can activate it by adjusting a specific setting in the "Agents" window.
The extended support for Codex on the agent host provides more flexibility for coding sessions. Users can now switch between GitHub Copilot and ChatGPT subscriptions without interrupting their current session. If they are logged into both services, they can toggle between models seamlessly. Additionally, Codex can now interact with desktop applications and use tools like image generation directly within the session, leveraging the full range of features available in Visual Studio Code.
The session cleanup feature, currently in preview, allows users to mark completed sessions as done and optionally delete them after a set period. When all merge requests for an inactive session are completed, the "Agents" window can prompt users to finalize the session. Users can customize these settings, though they are disabled by default. A confetti animation can also be enabled to celebrate marking a session as completed, with options to reduce animations based on user preferences.
For those eager to test these updates immediately, the "Nightly" version of the Insiders program offers the latest features as soon as they are available.
Microsoft Updates Visual Studio Code with New Agent and Codex Features
AI-rewritten from original reportingHow it works
visual-studio-codemicrosoftcodexdevelopment-environmentsession-cleanupdocker



