LoginSignup
2
0

More than 3 years have passed since last update.

RubyMineでJavaScriptのimport文の波括弧前後の空白設定を行う

Posted at

デフォルトの設定だと、リフォーマットした時に勝手にずれてしまいましたので、コードスタイルの設定をいじります。

下の画像のように、
Preferences
-> Editor
-> Code Style
-> JavaScript
-> Spaces タブ
-> ES6 import/export braces にチェックで解決します。

名称未設定.png

※ RubyMine に限らず、JetBrains IDE であればどれでも同じ設定かもしれません。


参考:Format Space within braces for ES6 import/export – IDEs Support (IntelliJ Platform) | JetBrains

2
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
2
0