In one other change, a collapsed mode has been added for Subsequent Edit Strategies (NES), a functionality through which Copilot predicts the following edit. There is also extra superior code base search in Copilot. When builders add #codebase to a Copilot Chat question, Copilot helps discover related code in a workspace for a chat immediate. Now, #codebase can run instruments similar to textual content search and file search to tug in additional context from a workspace. Additionally new in Copilot Chat, a Copilot imaginative and prescient functionality is in preview, for attaching pictures and interacting with pictures in chat prompts. Builders might, for instance, encounter an error whereas debugging, connect a screenshot of VS Code, and ask Copilot to assist resolve the problem.
Microsoft final month launched an experimental agent mode for Copilot Edits in VS Code Insiders. With the VS Code 1.98 launch, the corporate has made a number of UX enhancements. Agent mode allows Copilot to mechanically search a developer’s workspace for related context, edit information, verify for errors, and run terminal instructions. With the UX enhancements, terminal instructions now are proven inline, so customers can extra simply preserve observe of which instructions had been run, and customers now can edit the recommended terminal command within the chat response earlier than operating it.
Visible Studio Code 1.98 follows Visible Studio Code 1.97, which additionally featured Copilot lodging. Elsewhere in VS Code 1.98: