How can I set the indent size of html to tab in atom-beautifier ? I tried the following in .jscsrc but it doesn't have any effect.
{
"html": {
"indent_char": " ",
"indent_size": 1,
"indent_with_tabs": true
}
}
How can I set the indent size of html to tab in atom-beautifier ? I tried the following in .jscsrc but it doesn't have any effect.
{
"html": {
"indent_char": " ",
"indent_size": 1,
"indent_with_tabs": true
}
}
On
{
"indent_char": " ", //Tab here. Make sure editor doesn't change it.
"indent_size": 1,
"indent_with_tabs": true
}
I've put this at $ATOMPATH/packages/atom-beautify/.jsbeautifyrc AND $ATOMPATH/packages/atom-beautify/src/.jsbeautifyrc.
atom-beautify is still buggy as heck with tabs. Also make sure that you turn off "soft tabs" in Atom.
Here's a gist of some tips for killing spaces:
https://gist.github.com/zamicol/c5c926500ddde49006122f9e4e52e48f
The
atom-beautifierpackage is deprecated and the author has suggested that users migrate to theatom-beautifypackage:The
atom-beautifypackage supports a.jsbeautifyrcto configure the indent size: