Skip to content

Commit ae71753

Browse files
authored
Add java.import.maven.disableTestClasspathFlag (#2878)
Signed-off-by: Snjezana Peco <[email protected]> Signed-off-by: Snjezana Peco <[email protected]>
1 parent 4489824 commit ae71753

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
@@ -222,6 +222,9 @@ The following settings are supported:
222222
- macOS: `"~/Library/Caches/.jdt/index"`
223223
- Linux: First use `"$XDG_CACHE_HOME/.jdt/index"`, or `"~/.cache/.jdt/index"` if it does not exist
224224

225+
New in 1.15.0
226+
* `java.import.maven.disableTestClasspathFlag` : Enable/disable test classpath segregation. When enabled, this permits the usage of test resources within a Maven project as dependencies within the compile scope of other projects. Defaults to `false`.
227+
225228
Semantic Highlighting
226229
===============
227230
[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
@@ -273,6 +273,12 @@
273273
"description": "Enable/disable the Maven offline mode.",
274274
"scope": "window"
275275
},
276+
"java.import.maven.disableTestClasspathFlag": {
277+
"type": "boolean",
278+
"default": false,
279+
"description": "Enable/disable test classpath segregation. When enabled, this permits the usage of test resources within a Maven project as dependencies within the compile scope of other projects.",
280+
"scope": "window"
281+
},
276282
"java.import.gradle.enabled": {
277283
"type": "boolean",
278284
"default": true,

0 commit comments

Comments
 (0)