Skip to content

.editorconfig configuration is not taken into account when formatting code #31

@nagromc

Description

@nagromc

When Ctrl + A > Ctrl + Shift + F, the .editorconfig configuration is not taken into account.

The following code

public class Foo {

	public void bar() {
		int i = 0;
	}

}

will be converted as

public class Foo {

    public void bar() {
        int i = 0;
    }

}

.editorconfig:

root = true

[*]
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true

Works well with https://github.com/ncjones/editorconfig-eclipse or https://github.com/sindresorhus/atom-editorconfig.

I don't if it is possible to generate a technical report to help you to investigate.

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