Skip to content

Commit

Permalink
Add support for externally provided 'lifecycle-mapping-metadata.xml' …
Browse files Browse the repository at this point in the history
…file

Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza authored and rgrunber committed Jan 25, 2024
1 parent 9ab7039 commit d3bcbaa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ The following settings are supported:
* `java.edit.smartSemicolonDetection.enabled`: Defines the `smart semicolon` detection. Defaults to `false`.
* `java.configuration.detectJdksAtStart`: Automatically detect JDKs installed on local machine at startup. If you have specified the same JDK version in `java.configuration.runtimes`, the extension will use that version first. Defaults to `true`.

New in 1.27.0
* `java.configuration.maven.lifecycleMappings` : Path to Maven's lifecycle mappings xml.

Semantic Highlighting
===============
[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).
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,13 @@
"description": "Specifies default mojo execution action when no associated metadata can be detected.",
"scope": "window",
"order": 90
},
"java.configuration.maven.lifecycleMappings": {
"type": "string",
"default": null,
"description": "Path to Maven's lifecycle mappings xml",
"scope": "window",
"order": 100
}
}
},
Expand Down

0 comments on commit d3bcbaa

Please sign in to comment.