News
New VS Code Release Polishes Experimental GitHub Copilot Agent Mode
Since Microsoft-owned GitHub introduced the experimental Agent Mode for GitHub Copilot, the original "AI pair programmer" description of the tool advanced to "autonomous peer programmer" en route to the possible end goal of simply, "AI programmer." The tech has been polished in the latest update to Visual Studio Code, the February update taking it to v1.98.
When GitHub announced Agent Mode and other advanced GenAI tech, CEO Thomas Dohmke
said: "Developer teams will soon be joined by teams of intelligent, increasingly advanced AI agents that act as peer-programmers for everyday tasks."
Agent Mode was introduced to Microsoft's Visual Studio Code editor last month in an Insiders early-access build, part of several cutting-edge AI initiatives (see "
Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds"), including:
- Next Edit Suggestions (NES): This feature enhances AI-powered code completions by predicting and suggesting the next edits a developer might want to make in existing code. As code is modified, NES anticipates subsequent changes, allowing devs to navigate and accept suggestions using the Tab key. An arrow in the gutter indicates available edit suggestions, streamlining the editing process.
- Agent Mode: Agent Mode offers an autonomous editing experience where Copilot plans and executes tasks to fulfill requests. It determines relevant files, applies code changes, suggests terminal commands, and iterates to resolve issues, all while keeping users in control to review and confirm actions.
- Vision: This enables Copilot to generate code based on visual inputs like screenshots or markup. By analyzing visual data, Copilot can create corresponding user interfaces or provide descriptive alt text for images, bridging the gap between visual design and code implementation.
Those are all advancing VS Code to the point where foreseeably a human can just describe a project and let Copilot do all that pesky coding, barely supervised by a human (see "VS Code Copilot Gets Closer to Tab, Tab, Tab Coding").
In announcing VS Code 1.98 this week, Microsoft polished Next Edit Suggestions and Agent Mode, both now marked as previews, along with other Copilot functionality for editing notebooks, code search and more.
Since AI is clearly the future for coding in VS Code and everywhere else, here are summaries of the AI work done in the new release.
Otherwise, in non-Copilot enhancements, the new release includes:
- Terminal IntelliSense (Preview) -- Provides rich completion support within the terminal. This enhancement integrates IntelliSense features directly into the terminal, offering suggestions for commands, paths, and more, thereby improving the command-line experience.
- Drag & Drop References -- Allows quick opening of peek references in a new editor via drag and drop. Users can now drag references from the peek window and drop them into the editor area, facilitating seamless navigation and code exploration.
- Linux Custom Title Bar -- Enables custom title bar support for Linux by default. This update allows Linux users to customize the VS Code title bar, aligning the interface more closely with their desktop environment and personal preferences.
- Unresolved Diagnostics (Preview) -- Prompts users when committing with unresolved diagnostics. This feature alerts developers to issues such as errors or warnings before committing code, helping maintain code quality and reducing potential bugs.
- Soft-Delete in Source Control -- Moves untracked files to trash instead of permanently deleting them. This change provides a safety net by allowing recovery of untracked files that are accidentally deleted, enhancing version control practices.
- Custom Instructions General Availability -- Allows users to tailor Copilot to their specific needs using custom instructions. This feature enables developers to customize AI behavior, ensuring that Copilot's suggestions align more closely with individual coding styles and project requirements.
Read the lengthy post for more details on enhancements ranging from proposed APIs to tweaks for remote development and enterprise support, along with notable fixes and more.
About the Author
David Ramel is an editor and writer at Converge 360.