dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.07k stars 4.04k forks source link

[LSP] Support language experiences for roslyn options in editorconfig files #62758

Open Danyboyyy opened 2 years ago

Danyboyyy commented 2 years ago

Summary

This feature is looking to add hovering, completion, and diagnostics to .editorconfig files.

Background and Motivation

Despite that .editorconfig files have a GUI for users to modify their settings, some developers prefer modifying these settings in the default text file format. Providing language experiences to these developers will make them have a better experience while dealing with these files.

Proposed Feature

As mentioned above, there are three main features we want to support: hovering, completion, and diagnostics.

Hovering

Completion

Diagnostics

Show diagnostics when the user:

Alternative Designs

Youssef1313 commented 2 years ago

A quite related old suggestion: https://github.com/dotnet/roslyn/issues/48433

Youssef1313 commented 2 years ago

The diagnostics part is very related to https://github.com/dotnet/roslyn/issues/19055