Skip to content

Commit ee8bb39

Browse files
fbricondatho7561
authored andcommitted
feat: add preference to disable returning Javadoc on hover
Signed-off-by: Fred Bricon <[email protected]>
1 parent 5aeb018 commit ee8bb39

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ The following settings are supported:
260260
* `java.references.includeDeclarations`: Include declarations when finding references. Defaults to `true`
261261
* `java.jdt.ls.appcds.enabled` : [Experimental] Enable Java AppCDS (Application Class Data Sharing) for improvements to extension activation. When set to `auto`, AppCDS will be enabled in Visual Studio Code - Insiders, and for pre-release versions.
262262

263+
New in 1.50.0
264+
* `java.hover.javadoc.enabled` : Enable/disable displaying Javadoc on hover. Defaults to `true`.
265+
263266
Semantic Highlighting
264267
===============
265268
[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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,13 @@
14241424
"title": "Code Navigation",
14251425
"order": 120,
14261426
"properties": {
1427+
"java.hover.javadoc.enabled": {
1428+
"type": "boolean",
1429+
"default": true,
1430+
"description": "Enable/disable displaying Javadoc on hover.",
1431+
"scope": "window",
1432+
"order": 5
1433+
},
14271434
"java.referencesCodeLens.enabled": {
14281435
"type": "boolean",
14291436
"default": false,

0 commit comments

Comments
 (0)