Skip to content

Commit fcbe920

Browse files
authored
Add the java.configuration.maven.globalSettings property (#1683)
Signed-off-by: Snjezana Peco <[email protected]>
1 parent 95ffc42 commit fcbe920

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The following settings are supported:
101101
* `java.errors.incompleteClasspath.severity` : Specifies the severity of the message when the classpath is incomplete for a Java file. Supported values are `ignore`, `info`, `warning`, `error`.
102102
* `java.trace.server` : Traces the communication between VS Code and the Java language server.
103103
* `java.configuration.updateBuildConfiguration` : Specifies how modifications on build files update the Java classpath/configuration. Supported values are `disabled` (nothing happens), `interactive` (asks about updating on every modification), `automatic` (updating is automatically triggered).
104-
* `java.configuration.maven.userSettings` : Path to Maven's settings.xml.
104+
* `java.configuration.maven.userSettings` : Path to Maven's user settings.xml.
105105
* `java.configuration.checkProjectSettingsExclusions`: Checks if the extension-generated project settings files (`.project`, `.classpath`, `.factorypath`, `.settings/`) should be excluded from the file explorer. Defaults to `true`.
106106
* `java.referencesCodeLens.enabled` : Enable/disable the references code lenses.
107107
* `java.implementationsCodeLens.enabled` : Enable/disable the implementations code lenses.
@@ -170,10 +170,11 @@ The following settings are supported:
170170
* `java.project.resourceFilters`: Excludes files and folders from being refreshed by the Java Language Server, which can improve the overall performance. For example, ["node_modules",".git"] will exclude all files and folders named 'node_modules' or '.git'. Defaults to ["node_modules",".git"].
171171
* `java.templates.fileHeader`: Specifies the file header comment for new Java file. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](https://github.com/redhat-developer/vscode-java/wiki/Predefined-Variables-for-Java-Template-Snippets).
172172
* `java.templates.typeComment`: Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](https://github.com/redhat-developer/vscode-java/wiki/Predefined-Variables-for-Java-Template-Snippets).
173-
174-
New in 0.69.0:
175173
* `java.references.includeAccessors`: Include getter, setter and builder/constructor when finding references. Default to true.
176174

175+
New in 0.70.0:
176+
* `java.configuration.maven.globalSettings` : Path to Maven's global settings.xml.
177+
177178
Semantic Highlighting
178179
===============
179180
[Semantic Highlighting](https://github.com/redhat-developer/vscode-java/wiki/Semantic-Highlighting) is controlled by the `java.semanticHighlighting.enabled` preference. When enabled, it fixes numerous syntax highlighting issues with the default Java Textmate grammar. However, you might experience different small issues, particularly a delay when it kicks in, as it needs to be computed by the Java Language server, when opening a new file or when typing.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,13 @@
233233
"java.configuration.maven.userSettings": {
234234
"type": "string",
235235
"default": null,
236-
"description": "Path to Maven's settings.xml",
236+
"description": "Path to Maven's user settings.xml",
237+
"scope": "window"
238+
},
239+
"java.configuration.maven.globalSettings": {
240+
"type": "string",
241+
"default": null,
242+
"description": "Path to Maven's global settings.xml",
237243
"scope": "window"
238244
},
239245
"java.format.enabled": {

0 commit comments

Comments
 (0)