LoginSignup
5
5

More than 5 years have passed since last update.

Intellij のキモい import を直したかった

Last updated at Posted at 2014-10-31

探すの意外と大変だったのでメモ

import Hoge.{A,B,C,D,E} を import Hoge._ にしたくない

  • wildcard import とか
  • import on demand とか呼ばれてる文法

基本的に邪悪

##設定場所

Code Style > Scala > Imports > Class count to use import with '_'

##変更前

デフォだと 5 個以上で変換されるようになってるので

Screen Shot 2014-10-31 at 17.00.06.png

##変更後

適当に巨大な値に変えておけばおk

Screen Shot 2014-10-31 at 17.01.25.png

5
5
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
5
5