Closed fthebaud closed 7 years ago
Would you mind generating a debug.md file and pasting it into a gist? It could be a broken Atom Beautify setting related to a specific grammar, a setting not being passed to a beautifier used for a specific grammar, or a grammar that isn't completely recognized.
You need to configure the EJS setting on atom-beautify, those are the settings for HTML (Angular)..
@NodeJoSe is correct. Based on the debug.md
provided above you need to change the EJS
settings, such as EJS - Indentation Size
.
Version
Atom 1.9.2, atom-beautify 0.29.10
Description
Trying to beautify a HTML file that contains angular directives.
Settings in the html section:
Expected: the indentation to be equal to 2 spaces. Results: the indentation is still equal to 4 spaces.
The angularjs package is installed, and type of the file is HTML (angular).
If I force the grammar to be just HTML instead of HTML (angular), the indentation setting is taken into account and the indentation is correct (i.e. equal to 2 spaces0.