Closed tonylin0826 closed 7 years ago
Your file is being recognized as:
Original File Grammar: HTML (Angular)
Original File Language: EJS
and therefore is using the EJS settings:
"ejs": {
"indent_size": 4,
Instead of your HTML settings:
"html": {
"indent_size": 4,
You can either configure EJS language settings or change the Atom grammar for your file. See https://github.com/Glavin001/atom-beautify/blob/master/docs/options.md#ejs for available EJS options.
Description
The results of beautification are not what I expect. I set the indent size to 2, but it still indent 4.
If i disable the angulars package and restart, it work normally.
Input Before Beautification
This is what the code looked like before:
Actual Output
The beautified code actually looked like this:
Steps to Reproduce
Atom Beautify: Beautify Editor
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/tonylin0826/84c5a9da63908a5a4a403eb4b8686aeeChecklist
I have:
debug.md
Gist to this issue