October 24, 2026

[ad_1]

Microsoft designs a major improve to the C# extension for its Visual Studio Code editor, a switch to applying the Language Server Protocol (LSP) to enable far more sophisticated capabilities together with shut-source encounters these as IntelliSense.

The C# extension itself, and the LSP implementations for C# and Razor, will stay open supply, Microsoft stated.

The C# extension has been driven from the starting by .Internet instruments maker OmniSharp, which has leveraged available APIs and protocols. In the meantime, LSP has turn out to be the regular interprocess interaction mechanism for fashionable developer resources, stated Microsoft’s Tim Heur, system manager for .Web and Visual Studio, in an announcement this 7 days in OmniSharp’s GitHub repo.

Relocating forward, plans phone for the C# extension to connect entirely employing LSP though updating the existing OmniSharp ingredient to connect via LSP as nicely. Making use of LSP will make it possible for Microsoft to convey new options to the C# extension, together with closed-source activities these as IntelliCode AI-assisted growth capabilities.

Microsoft mentioned it will make an LSP resources host element that integrates open up resource elements this kind of as the Roslyn compiler and Razor equipment with shut-resource components to provide a broader array of tool capabilities. “We believe that that going the C# extension to LSP will support us complete our aim of making an extensible and flexible tooling surroundings which very easily integrates new experiences into C# for VS Code,” Heur claimed.

Customers of the C# extension will be ready to pick out in between the latest open up supply OmniSharp-driven process or the new LSP tools host to give accessibility to extra ordeals. The LSP tools host will not be open up-sourced. Subsequent actions incorporate:

  • Updating the C# for VS Code extension to communicate with OmniSharp Server by means of LSP by default.
  • Switching the C# extension to use the LSP tools host by default and to enable people to select an alternative language server.
  • Delivery the extension with the new defaults bundled with extra capabilities out of the box.
  • Shifting the extension from github.com/OmniSharp/omnisharp-vscode to github.com/dotnet/vscode-csharp, where by Microsoft will manage it.

Copyright © 2022 IDG Communications, Inc.

[ad_2]

Supply connection