Skip to content

Syntax highlighting and auto-complete not supporting the latest C# 10 features #4709

@vanka78bg

Description

@vanka78bg

The latest version of OmniSharp for Visual Studio Code - 1.23.14 adds support for .NET 6 preview 7. Unfortunately, trying out the new version is quite difficult, because the syntax highlighting and auto-complete do not support the latest language features. Here is a screenshot of how the code currently looks in the editor:

image

This does not make Visual Studio Code a viable option to do any .NET 6 preview testing in its current state. The only viable option so far is to install the full-blown Visual Studio 2022 preview. Since Visual Studio Code has a much smaller footprint than Visual Studio 2022 preview, it would be a better option to do any preliminary testing of .NET 6, provided the C# syntax highlighting and auto-complete are fixed.

Are there any plans to add support for the new C# 10 features, before the .NET 6 gets official? The preview 7 is the latest preview version of .NET 6, before it goes to a release candidate, so it would be an ideal time to do it now. This would help testing the framework and the new language features before the official release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions