editorconfig-vscode icon indicating copy to clipboard operation
editorconfig-vscode copied to clipboard

editoconfig doesn't work on mac

Open Kingdom-Of-Heaven opened this issue 2 years ago • 2 comments

I've just added new editoconfig on solution top level and added as below to have file scope namespacing nevertheless when creating new class namespacing still remains block type. WHat i do wrong?

P.S Is there any possibility to have preview of editor config same way we have on windows system?

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
# IDE0160: Convert to file-scoped namespace
csharp_style_namespace_declarations = file_scoped:silent

Kingdom-Of-Heaven avatar Mar 14 '23 15:03 Kingdom-Of-Heaven

any thoughts what could be wrong?

Kingdom-Of-Heaven avatar Mar 15 '23 07:03 Kingdom-Of-Heaven

I think that rule you mentioned is specific to Visual Studio, not VS Code.

The VS Code extension (which this repo is for) only supports the following:

  • indent_style
  • indent_size
  • tab_width
  • end_of_line (on save)
  • insert_final_newline (on save)
  • trim_trailing_whitespace (on save)

coliff avatar Aug 17 '23 10:08 coliff