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

Tab length for indent is being ignored #576

Closed
bpinney opened this issue Sep 28, 2015 · 2 comments
Closed

Tab length for indent is being ignored #576

bpinney opened this issue Sep 28, 2015 · 2 comments
Labels

Comments

@bpinney
Copy link

bpinney commented Sep 28, 2015

Atom tab settings are soft tabs, tab length of 4.
Inserting a tab in a file inserts 4 spaces.
Atom Beautify is indenting with two spaces, which I cannot seem to change in the plugin settings.

Debug information:
https://gist.github.com/bpinney/43bf4686fa645c2cf333

@Glavin001
Copy link
Owner

From your debug logs it looks like the problem is with your existing EditorConfg file. You can see all of the options under the "Beautifier Options" section. "Editor options" Is what you want and "EditorConfg options" is the last to overwrite those options. The options are in order. You can see the result in "Final Options".

I recommend that you either use the Atom Beautify package settings and change the options for the HTML language or make the changes and store them in a .jsbeautifyrc file.

@bpinney
Copy link
Author

bpinney commented Sep 28, 2015

Thanks for the reply. In trying to find the offending file, I realized it would be very helpful if the Atom Beautifier debug included the path of the .editorconfig file imported. I can close this issue and open a new one with that suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants