Skip to content

Commit 8b73af6

Browse files
snjezafbricon
authored andcommitted
organize imports with the asterisk (*) wildcard character
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
1 parent 9cdbf88 commit 8b73af6

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ The following settings are supported:
147147
* `java.completion.maxResults`: Maximum number of completion results (not including snippets).Setting 0 will disable the limit and return all results. Be aware the performance will be very negatively impacted.
148148
* `java.import.gradle.offline.enabled`: Enable/disable the Gradle offline mode. Defaults to `false`.
149149
* `java.configuration.runtimes`: Map Java Execution Environments to local JDKs.
150-
151-
New in 0.59.0:
152150
* `java.import.gradle.user.home`: setting for GRADLE_USER_HOME.
153151
* `java.server.launchMode`:
154152
- `Standard`: Provides full features such as intellisense, refactoring, building, Maven/Gradle support etc...
@@ -157,6 +155,10 @@ New in 0.59.0:
157155

158156
Default launch mode is `Hybrid`. Legacy mode is `Standard`
159157

158+
New in 0.60.0:
159+
* `java.sources.organizeImports.starThreshold`: Specifies the number of imports added before a star-import declaration is used, default is 99.
160+
* `java.sources.organizeImports.staticStarThreshold`: Specifies the number of static imports added before a star-import declaration is used, default is 99.
161+
160162
Troubleshooting
161163
===============
162164
1. Check the status of the language tools on the lower right corner (marked with A on image below).

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,18 @@
516516
"description": "The launch mode for the Java extension",
517517
"default": "Hybrid",
518518
"scope": "window"
519+
},
520+
"java.sources.organizeImports.starThreshold": {
521+
"type": "integer",
522+
"description": "Specifies the number of imports added before a star-import declaration is used.",
523+
"default": 99,
524+
"scope": "window"
525+
},
526+
"java.sources.organizeImports.staticStarThreshold": {
527+
"type": "integer",
528+
"description": "Specifies the number of static imports added before a star-import declaration is used.",
529+
"default": 99,
530+
"scope": "window"
519531
}
520532
}
521533
},

0 commit comments

Comments
 (0)