dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.87k stars 675 forks source link

editorconfig autocomplete for roslyn settings #1345

Open natemcmaster opened 7 years ago

natemcmaster commented 7 years ago

It would be awesome if the C# extension could add auto-complete options for the C#-specific editorconfig settings. The editor config plugin only provides autocomplete a few, basic options.

# Examples
[*.cs]
dotnet_sort_system_directives_first = true:warning
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_expression_bodied_methods = false:none

See also https://github.com/dotnet/roslyn/blob/master/.editorconfig https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference

DustinCampbell commented 7 years ago

Maybe @MadsKristensen would be interested in writing this extension?

madskristensen commented 7 years ago

Some of the logic from the VS extension should be portable. Time is not in my favor at the moment, though.