GitHub Copilot in VS Code: New Features Enhance Developer Productivity with Voice and Advanced Suggestions
GitHub Copilot in VS Code has rolled out a suite of powerful new features aimed at transforming the developer experience and maximizing productivity. Among the most notable additions is the integration of native voice chat. Developers can now activate voice chat by holding `Ctrl+I` in the Chat view, speaking their prompts, and having Copilot transcribe, process, and read back responses. This hands-free interaction allows for dictating refactors, asking questions while reviewing code, or assigning tasks to an agent without interrupting the flow of typing. This voice feature is built directly into VS Code, requiring no extensions or third-party services, and functions seamlessly in both the Chat view and Inline Chat.
Another significant enhancement is the introduction of 'long-distance Next Edit Suggestions' (NES). While basic tab-to-accept inline suggestions are widely known, NES has evolved to predict and pre-fill edits across an entire file, not just near the cursor. For instance, if a developer changes a variable's type at the beginning of a large file, Copilot can now predict all subsequent ripple effects—such as necessary updates to usages, return types, and conditional statements—and queue them up for acceptance with a simple tab key press, regardless of their distance from the initial edit. This is powered by a custom model specifically trained to predict edit locations.
Furthermore, Copilot has refined its error-fixing capabilities. Developers can now select broken code and right-click to access a 'Fix' option, where Copilot proposes corrections with a clear diff for one-click application. For linting and compiler errors, a sparkle icon (✨) appears in the gutter next to the error. Clicking this icon directly offers a 'Fix using Copilot' option, eliminating the need to open chat or right-click. This direct integration allows errors to automatically inform Copilot of the issue, providing an immediate solution for the developer to accept. These updates collectively aim to ensure developers are fully utilizing Copilot's advanced capabilities.
Read original source