sindresorhus / atom-editorconfig

Helps developers maintain consistent coding styles between different editors
https://atom.io/packages/editorconfig
MIT License
812 stars 80 forks source link

identation no longer working #217

Closed rugk closed 6 years ago

rugk commented 6 years ago

This is the first time, I discover that issue. previously it worked fine.

Involved .editorconfig-files

JS is set to 4 spaces:

# editorconfig.org

root = true

[*]
# Unix style files
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.sh]
indent_style = space
indent_size = 4

[*.json]
indent_style = space
indent_size = 2

[*.html]
indent_style = tab

[*.css]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 4

[*.{md,markdown}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false

Directory structure

does not matter

What happens

It indents it with 2 spaces: image

It also seems to ignore the "show indent guide" and "show invisibles". The main options in Atom for that (in the "Editor" part of the settings) seem to override them.

On the other hand, CSS files are now indended with 4 spaces! :open_mouth: These should have two spaces…

Gernally, the whole package behaves weird. It does not show me the fix entry when Ctrl+P-ing anymore: image

editorconfig 2.2.2 Atom 1.25.0 Linux

rugk commented 6 years ago

Actually it seems to be a whole Atom problem. I only started Aom with --safe-mode once (now restarted), and it shows me all plugins as active now, but they actually seem to be disabled.

rugk commented 6 years ago

Closing, as it seems to be an Atom issue.