You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In several editors, I have had issues with OmniSharp-Roslyn ignore the settings of my ".editorconfig". I have tried using it in Neovim (with OmniSharp-Vim, and in VSCode with OmniSharp-VSCode. In both editors, the settings of that file are completely ignored.
Steps to Reproduce
Take a sample ".editorconfig" file, such as this:
[*.cs]csharp_indent_braces = false
Take some code, such as this:
intfoo=0;switch(foo){case0:{// some code here}}
Format the code using the editor of your choice, and you will see this:
intfoo=0;switch(foo){case0:{// some code here}}
Note that this happens despite the csharp_indent_braces = false rule in the ".editorconfig" file.
The text was updated successfully, but these errors were encountered:
I had to search the issues to find that there is an option "EnableEditorConfigSupport". Upon enabling it, things work as expected. I feel like it should be mentioned in at least one of the documents I listed previously, though. How did the person in the issue discover it? Was it in the documentation before, but it was accidentally removed?
Problem
In several editors, I have had issues with OmniSharp-Roslyn ignore the settings of my ".editorconfig". I have tried using it in Neovim (with OmniSharp-Vim, and in VSCode with OmniSharp-VSCode. In both editors, the settings of that file are completely ignored.
Steps to Reproduce
Note that this happens despite the
csharp_indent_braces = false
rule in the ".editorconfig" file.The text was updated successfully, but these errors were encountered: