Vojtěch Krása

Results 329 comments of Vojtěch Krása

Have you actually tried it in Eclipse? because Eclipse produces: ``` package somePackage; import static somePackage.Foo.SomeZClass; import static somePackage.Foo.SomeEnum.Bar; public class Bar { { SomeZClass.name(); } somePackage.Foo.SomeEnum bar=Bar; } ```...

>But the plugin for Intellij has a different behavior than what is in eclipse. where? > So is your goal to align with the behavior as much in eclipse? yes

Ok, I see. The problem is that Intellij does not convert `import static somePackage.Foo.SomeZClass;` into `import somePackage.Foo.SomeZClass;` like Eclipse. This plugin only handles the order, not the actual content of...

This plugin could change the imports in the same way IntelliJ does it, using PSI, that should be easy.

That's strange. It works fine for me. IntelliJ IDEA 2018.2.6 (Community Edition) Build #IC-182.5107.16, built on November 6, 2018 JRE: 1.8.0_152-release-1248-b22 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o...

Could be some JRE issue. All other radion buttons in the IDE look fine?

Sounds good, will you implement it?

It is a feature. Afaik Eclipse cannot format Groovy without some plugin.