atom-beautifierのhtmlのインデントサイズをタブに設定するにはどうすればよいですか? 私は以下を.jscsrcで試しましたが、何の効果もありません。atom-beautify:タブ付きインデントhtml
{
"html": {
"indent_char": " ",
"indent_size": 1,
"indent_with_tabs": true
}
}
atom-beautifierのhtmlのインデントサイズをタブに設定するにはどうすればよいですか? 私は以下を.jscsrcで試しましたが、何の効果もありません。atom-beautify:タブ付きインデントhtml
{
"html": {
"indent_char": " ",
"indent_size": 1,
"indent_with_tabs": true
}
}
atom-beautifier
パッケージが廃止されており、著者は、ユーザーがatom-beautify
packageに移行することを示唆している:
使用してください:https://atom.io/packages/atom-beautifyそれははるかに良いです:)
をatom-beautify
パッケージは、Aサポートインデントサイズを設定する.jsbeautifyrc
:
{
"indent_size": 2,
"indent_char": " ",
"other": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 2,
"jslint_happy": true,
"indent_handlebars": true
}
{ "indent_char": " ", //Tab here. Make sure editor doesn't change it. "indent_size": 1, "indent_with_tabs": true }
私は$ATOMPATH/packages/atom-beautify/.jsbeautifyrc
と$ATOMPATH/packages/atom-beautify/src/.jsbeautifyrc
でこれを入れています。
atom-beautify
は、まだタブでうんざりです。また、Atomの「ソフトタブ」をオフにしてください。ここで
は、スペースを殺すためにいくつかのヒントの要旨です:
https://gist.github.com/zamicol/c5c926500ddde49006122f9e4e52e48f