2

In my Scala project I decided to change predefined imports. By default compiler puts:

import java.lang._
import scala._
import scala.Predef._

into scope, but that can be controlled with compiler flags. And that's what I am curious about - is there a settings, hidden configuration or a plugin that allows me to change, add or override what imports Intellij thinks are always present?

Mateusz Kubuszok
  • 24,995
  • 4
  • 42
  • 64

1 Answers1

1

Since 2.13 Scala officially supports Yimports and IntelliJ respects that settings, which solves the issue.

Mario Galic
  • 47,285
  • 6
  • 56
  • 98
Mateusz Kubuszok
  • 24,995
  • 4
  • 42
  • 64