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

.editorConfig Editor needs some big usability improvements #56506

Open vsfeedback opened 3 years ago

vsfeedback commented 3 years ago

This issue has been moved from a ticket on Developer Community.


I'm not a fan of the new .editorconfig Editor in its current form. My biggest problem with it is that the editor shows ALL settings, including the settings that are not explicitly defined. Whilst this is a really good move for discoverability, it not great if you are:

  1. Attempting to create and test a common .editorconfig file that you want to use across solutions that only has the bare minimum.
  2. Attempting to check the contents of a nested .editorconfig file to check what it's overriding.

Trying to open an .editorconfig instead as just text in VS instead is also a pain.

Therefore please at a minimum add options to:

  1. Scope to the settings to only what's in the opened .editorconfig
  2. View source button.

Original Comments

Feedback Bot on 9/2/2021, 11:26 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

jinujoseph commented 3 years ago

cc @mikadumont

sharwell commented 3 years ago

Issue #39928 really needs to be solved before this one. Any option not specified in .editorconfig has an unknown value, where the author of this issue is expecting it to instead have a known default value.