← Back
GitHub
GitHub Copilot in Visual Studio gains syntax-highlighted completions and partial acceptance
GitHub Copilot · featurerelease · github.blog ↗

Key Features

GitHub Copilot in Visual Studio 2026 introduces several user-requested enhancements designed to improve the coding experience:

Colorized Code Completions: Code suggestions now display syntax highlighting, making it easier to visually distinguish variables, functions, keywords, and other language elements. Developers can enable this feature in settings by selecting Use colorized text for code completions.

Partial Acceptance of Completions: A new click-to-accept feature allows developers to accept only a portion of a code suggestion. Hovering over a suggestion highlights individual segments, and clicking positions the cursor to accept code up to that point, providing more granular control over what gets inserted.

Additional Improvements

Beyond completions, the update delivers several productivity enhancements:

  • Faster scrolling for smoother editor navigation
  • HTML-rich copy/paste support for better content handling
  • Syntactic line compression for more compact code display

Streamlined Markdown Preview: Developers can now switch between Split Preview, Open Preview, and Edit Markdown modes. Zoom controls are now available for Mermaid diagrams, and Copilot Chat includes a Preview button to render and edit generated markdown directly without leaving the editor.

Getting Started

The January features are available now in Visual Studio 2026. Download the latest version to access all new Copilot capabilities, and visit the Visual Studio blog for additional details and a full feature roadmap.