This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
Converging on style in organize-imports IntelliJ and Scala Center #159
sideeffffect
started this conversation in
General
Replies: 1 comment 1 reply
-
@sideeffffect, thanks for starting this thread. According to the discussion in PR #154, the conversation between IntelliJ and Scala Center happened in a private Slack channel. I'm curious to learn the outcome. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@liancheng @nafg @pavelfatin
Has there been a discussion between organize-imports developers, IntelliJ and Scala Center on the convergence of how to sort imports in Scala? What are the outcomes?
There has been a new release of
organize-imports
https://github.com/liancheng/scalafix-organize-imports/releases/tag/v0.5.0
It changes the default sort order over to that of IntelliJ, which is awesome! 🎉
However,
groupedImports
is set toExplode
. The arguments for usingExplode
are very good. But IntelliJ doesMerge
by default, which causes grief, because now they're in conflict and don't converge when a developer uses both (IntelliJ and organize-imports) tools. Will IntelliJ change toExplode
by default to solve this issue?Beta Was this translation helpful? Give feedback.
All reactions