Skip to content

Commit 6d8884d

Browse files
authored
Add the java.import.maven.offline.enabled property (#2617)
Signed-off-by: Snjezana Peco <[email protected]>
1 parent 821ba94 commit 6d8884d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ The following settings are supported:
206206
* `java.import.generatesMetadataFilesAtProjectRoot` : Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Defaults to `false`.
207207
* `java.inlayHints.parameterNames.enabled`: Enable/disable inlay hints for parameter names. Supported values are: `none`(disable parameter name hints), `literals`(Enable parameter name hints only for literal arguments) and `all`(Enable parameter name hints for literal and non-literal arguments). Defaults to `literals`.
208208

209+
New in 1.10.0
210+
* `java.import.maven.offline.enabled` : Enable/disable the Maven offline mode. Defaults to `false`.
211+
209212
Semantic Highlighting
210213
===============
211214
[Semantic Highlighting](https://github.com/redhat-developer/vscode-java/wiki/Semantic-Highlighting) fixes numerous syntax highlighting issues with the default Java Textmate grammar. However, you might experience a few minor 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. Semantic highlighting can be disabled for all languages using the `editor.semanticHighlighting.enabled` setting, or for Java only using [language-specific editor settings](https://code.visualstudio.com/docs/getstarted/settings#_languagespecific-editor-settings).

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@
250250
"description": "Enable/disable the Maven importer.",
251251
"scope": "window"
252252
},
253+
"java.import.maven.offline.enabled": {
254+
"type": "boolean",
255+
"default": false,
256+
"description": "Enable/disable the Maven offline mode.",
257+
"scope": "window"
258+
},
253259
"java.import.gradle.enabled": {
254260
"type": "boolean",
255261
"default": true,

0 commit comments

Comments
 (0)