Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editoconfig doesn't work on mac #348

Open
Kingdom-Of-Heaven opened this issue Mar 14, 2023 · 2 comments
Open

editoconfig doesn't work on mac #348

Kingdom-Of-Heaven opened this issue Mar 14, 2023 · 2 comments

Comments

@Kingdom-Of-Heaven
Copy link

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
Copy link
Author

any thoughts what could be wrong?

@coliff
Copy link

coliff commented Aug 17, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants