What changed about the C# extension for VS Code's IntelliSense in the v2.0.320 release? – C#

by
Ali Hasan
c# visual-studio-code

Quick Fix: In VS Code’s C# extension v2.0.320, the Roslyn language server is now the default. Switch back to OmniSharp by setting the ‘dotnet.server.useOmnisharp’ extension setting to true or wait for feature parity and bug fixes to roll in.

The Problem:

In the recent release of C# extension for VS Code 2.0.320 on August 02, 2023, users are encountering issues with IntelliSense behavior. Specifically, formatting seems to have problems, and users are receiving warnings that might be incorrect. What are the exact changes made in this release that are causing these issues, and how can users address these problems to continue using IntelliSense effectively?

The Solutions:

Solution 1: Change in IntelliSense behavior in VS Code’s C# extension due to switch to the Roslyn language server

The C# extension for VS Code has undergone a significant change in its IntelliSense behavior with the release of version 2.0.320. This change involves switching from the OmniSharp language server to the Roslyn language server as the default.

As a result, some users may experience differences in formatting and receive warnings that might not have appeared previously.

To address this, users can either switch back to the OmniSharp language server by following the provided instructions or wait for feature parity and bug fixes to be implemented in the new Roslyn language server.

Additionally, a list of known issues in the 2.0.320 release has been provided, including those related to diagnostics, code fixes, refactoring, and debugging.

For further information, users can refer to the GitHub repo migration from OmniSharp to .NET and relevant discussions on the platform.

Q&A

What’s changed about IntelliSense in v2.0.320 of the C# extension for VS Code?

The new Roslyn language server is now the default.

How do I switch back to the old OmniSharp server?

Set the dotnet.server.useOmnisharp setting to true in the extension settings.

What are some known issues in the 2.0.320 release?

Video Explanation:

The following video, titled "HERE'S WHAT ZOWIE HAVE CHANGED IN THE NEW S1 C ...", provides additional insights and in-depth exploration related to the topics discussed in this post.

Play video

This is a Teardown of the new Zowie C Series mice to see what changed and if you should spend the money to upgrade or just join the zowie ...