Jump to content

PSA: Recent Visual Studio Code C# extension changes may break syntax highlighting and project build


photo

Recommended Posts

Posted

Recently Microsoft updated their C# Extension to 2.x branch and moved from Ominsharp language server to Roslyn:

image.png

That may result in syntax highlight being wrong and/or project compiling issues.

To rollback to the previous Ommisharp language server you can do the following:

  1. Press Ctrl+Shift+X to open the extensions list;
  2. Right click on the C# Extension and select Extension Settings;
  3. Copy and paste this line in to the settings filter: dotnet.server.useOmnisharp
  4. Enable checkbox under Use Ominsharp;
  5. Restart Visual Studio Code.

image.png

Thanks!

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

  • silent changed the title to PSA: Recent Visual Studio Code C# extension changes may break syntax highlighting and project build
  • silent pinned this topic
×
×
  • Create New...