OrganizeImports

scalafix.internal.rule.OrganizeImports
See theOrganizeImports companion object
class OrganizeImports(config: OrganizeImportsConfig, val targetDialect: Dialect = ..., scala3DialectForScala3Paths: Boolean = ...) extends SemanticRule

Attributes

Companion
object
Graph
Supertypes
class SemanticRule
class Rule
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this()

Concrete methods

override def description: String

Attributes

Definition Classes
override def fix(implicit doc: SemanticDocument): Patch

Attributes

Definition Classes
override def isLinter: Boolean

Attributes

Definition Classes
override def isRewrite: Boolean

Attributes

Definition Classes

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
Rule
def beforeStart(): Unit

Attributes

Inherited from:
Rule

Attributes

Inherited from:
Rule
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Rule -> Any
Inherited from:
Rule

Implicits

Implicits

implicit val targetDialect: Dialect