LoginSignup
1
0

More than 5 years have passed since last update.

デフォルトのAtomでerbの自動インデント(atom-beautify)が効かない時の解決法

Posted at

このgithubのissueによると、Pretty Diffという外部ライブラリのバグだそうなので
https://github.com/Glavin001/atom-beautify/issues/1167

[preferences] -> [packageでatom-beautifyと検索] -> [atom-beautifyのSettings] -> [ERB] -> [Default Beautifier] -> で[HTML Beatifier]を選択

HTML BeautifierはRubyのgemなので

gem install htmlbeautifier

(rbenvを使っている時はatomの起動ディレクトリのrubyが使われるっぽい?)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0