Skip to content

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

@huyz

Description

@huyz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions