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

Language specific tab size from user settings is not honored. #355

Open
yokujin opened this issue Jun 21, 2018 · 2 comments
Open

Language specific tab size from user settings is not honored. #355

yokujin opened this issue Jun 21, 2018 · 2 comments

Comments

@yokujin
Copy link

yokujin commented Jun 21, 2018

I have the following user settings:

{
    "editor.insertSpaces": true,
    "editor.detectIndentation": false,
    "editor.tabSize": 4,
    "[elixir]": {
        "editor.tabSize": 2,
    },
}

and an Elixir project without .editorconfig file.

When I open any *.ex file for editing I see that indent style set to Spaces: 4. While according to user settings it should be Spaces: 2.

If I disable EditorConfig extension OR create .editorconfig file with indent_size = 2 indent style correctly set to Spaces: 2

It looks like other guys have the same problem but with YAML files: microsoft/vscode#46394

@xuhdev
Copy link
Member

xuhdev commented Jun 21, 2018

Which editor is this? It looks like it's an editor-specific feature. Then you should report to their issue tracker. The standard EditorConfig does not involve language specific settings until today.

@yokujin
Copy link
Author

yokujin commented Jun 22, 2018

Official binary build of
Visual Studio Code
Version 1.24.1
Commit 24f62626b222e9a8313213fb64b10d741a326288
Date 2018-06-13T17:47:35.732Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

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