Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 scala 枚举上的 java 注释有错误。这个 scala 错误似乎已修复,但 Inteliij Idea 显示错误。那么如何确保 intellij Idea scala 插件使用实际的 scala 版本呢?
您可以在项目选项下检查项目的 Scala 编译器和语言级别File > Project Structure... > Modules > Scala
File > Project Structure... > Modules > Scala
我不知道这是否已由 IntelliJ 更新(当前2020.02版本),但它是在:
2020.02
File > Project Structure > Platform Settings (left tab) > Global Libraries > Scala version"