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

[FR] A workspace setting to disable the reading of root .editorconfig #340

Open
1 of 2 tasks
huyz opened this issue Nov 17, 2022 · 0 comments
Open
1 of 2 tasks

[FR] A workspace setting to disable the reading of root .editorconfig #340

huyz opened this issue Nov 17, 2022 · 0 comments

Comments

@huyz
Copy link

huyz commented Nov 17, 2022

Please fill-in this template.

  • I have a question that is specific to this extension; thus, inappropriate for the main EditorConfig issue tracker.
  • I tried running code --disable-extensions and the issue did NOT present itself.

Issue

Visual Studio Code editorconfig-vscode
Version 1.73.1 0.16.4

Expected behavior

I'm trying to find a way to disable the reading of my root .editorconfig for a particular workspace, and just let VS Code's indentation detection magic do its thing instead.

Actual behavior

I can't find any particular option in the VS Code settings, in the Workspace scope, to disable the reading of the root .editorconfig. So I can trigger VS Code's "detect indentation" feature, but when the editor loses focus and then regains focus, the indentation goes back to what the EditorConfig extension does (thus triggering confusion as experienced here: microsoft/vscode#84701)

Additional comments or steps to reproduce

Workaround: I have to generate an .editorconfig within the workspace to override what's in my root config file.

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

1 participant