2017-06-10 scala type annotation intellij Scala IntelliJ IntelliJだと、こういうふうに変数の型を定義しないとデフォルトでwarningになるっぽい。 val a = "hoge" Explicit type annotation って怒られる。 Beyond Code Style | IntelliJ Scala plugin blog