Closed CloudSen closed 2 months ago
I have customized the following user configuration, and I haven't modified the workspace configuration:
"jdk.java.imports.countForUsingStarImport": 5, "jdk.java.imports.countForUsingStaticStarImport": 3, "java.completion.importOrder": [ "", "javax", "java", "#" ],
And I'm using 7 class in java util packages:
import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.Properties; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit;
When I use orgranize imports, it not running as expected, it still lists 7 classes.
I need import java.util.* when more than 5 imports. Same problem with jdk.java.imports.countForUsingStaticStarImport.
import java.util.*
jdk.java.imports.countForUsingStaticStarImport
I'm sorry, It's my problem. I confused the configuration of javavscode and javaLanguageSupport plugins. Everything is working well now. Thanks for providing such a useful tool ^_^~
What happend?
I have customized the following user configuration, and I haven't modified the workspace configuration:
And I'm using 7 class in java util packages:
When I use orgranize imports, it not running as expected, it still lists 7 classes.
What expected
I need
import java.util.*
when more than 5 imports.Same problem with
jdk.java.imports.countForUsingStaticStarImport
.Version Info