Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Comments

Explicit Kotlin import layout#100

Merged
JakeWharton merged 1 commit intomainfrom
ralf/import-layout
Nov 19, 2025
Merged

Explicit Kotlin import layout#100
JakeWharton merged 1 commit intomainfrom
ralf/import-layout

Conversation

@vRallev
Copy link
Collaborator

@vRallev vRallev commented Nov 19, 2025

Specify an explicit import layout instead of relying on the Kotlin Official default. The Kotlin Official style uses ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^. There isn't a reason why these packages should be treated differently. The new explicit import layout changes it to ij_kotlin_imports_layout = *, which is for example used by ktfmt, too.

Specify an explicit import layout instead of relying on the Kotlin Official default. The Kotlin Official style uses `ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^`. There isn't a reason why these packages should be treated differently. The new explicit import layout changes it to `ij_kotlin_imports_layout = *`, which is for example used by ktfmt, too.
@JakeWharton JakeWharton merged commit 476d898 into main Nov 19, 2025
@JakeWharton JakeWharton deleted the ralf/import-layout branch November 19, 2025 19:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants