You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Control inclusion of declarations when searching for references
- Also simplify the 'resolveCodeAction' middleware implementation
Signed-off-by: Roland Grunberg <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,6 +256,9 @@ The following settings are supported:
256
256
*`java.jdt.ls.javac.enabled`: [Experimental] Specify whether to enable Javac-based compilation in the language server. Requires running this extension with Java 23. Defaults to `off`.
257
257
*`java.completion.engine`: [Experimental] Select code completion engine. Defaults to `ecj`.
258
258
259
+
New in 1.37.0
260
+
*`java.references.includeDeclarations`: Include declarations when finding references. Defaults to `true`
261
+
259
262
Semantic Highlighting
260
263
===============
261
264
[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).
Copy file name to clipboardExpand all lines: package.json
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1422,26 +1422,33 @@
1422
1422
"scope": "window",
1423
1423
"order": 30
1424
1424
},
1425
+
"java.references.includeDeclarations": {
1426
+
"type": "boolean",
1427
+
"default": true,
1428
+
"description": "Include declarations when finding references.",
1429
+
"scope": "window",
1430
+
"order": 40
1431
+
},
1425
1432
"java.references.includeDecompiledSources": {
1426
1433
"type": "boolean",
1427
1434
"default": true,
1428
1435
"description": "Include the decompiled sources when finding references.",
1429
1436
"scope": "window",
1430
-
"order": 40
1437
+
"order": 50
1431
1438
},
1432
1439
"java.symbols.includeSourceMethodDeclarations": {
1433
1440
"type": "boolean",
1434
1441
"markdownDescription": "Include method declarations from source files in symbol search.",
1435
1442
"default": false,
1436
1443
"scope": "window",
1437
-
"order": 50
1444
+
"order": 60
1438
1445
},
1439
1446
"java.typeHierarchy.lazyLoad": {
1440
1447
"type": "boolean",
1441
1448
"default": false,
1442
1449
"description": "Enable/disable lazy loading the content in type hierarchy. Lazy loading could save a lot of loading time but every type should be expanded manually to load its content.",
1443
1450
"scope": "window",
1444
-
"order": 60
1451
+
"order": 70
1445
1452
},
1446
1453
"java.inlayHints.parameterNames.enabled": {
1447
1454
"type": "string",
@@ -1458,7 +1465,7 @@
1458
1465
"default": "literals",
1459
1466
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```java\n\nInteger.valueOf(/* s: */ '123', /* radix: */ 10)\n\n```\n `#java.inlayHints.parameterNames.exclusions#` can be used to disable the inlay hints for methods.",
1460
1467
"scope": "window",
1461
-
"order": 70
1468
+
"order": 80
1462
1469
},
1463
1470
"java.inlayHints.parameterNames.exclusions": {
1464
1471
"type": "array",
@@ -1468,7 +1475,7 @@
1468
1475
"default": [],
1469
1476
"markdownDescription": "The patterns for the methods that will be disabled to show the inlay hints. Supported pattern examples:\n - `java.lang.Math.*` - All the methods from java.lang.Math.\n - `*.Arrays.asList` - Methods named as 'asList' in the types named as 'Arrays'.\n - `*.println(*)` - Methods named as 'println'.\n - `(from, to)` - Methods with two parameters named as 'from' and 'to'.\n - `(arg*)` - Methods with one parameter whose name starts with 'arg'.",
1470
1477
"scope": "window",
1471
-
"order": 80
1478
+
"order": 90
1472
1479
},
1473
1480
"java.search.scope": {
1474
1481
"type": "string",
@@ -1483,7 +1490,7 @@
1483
1490
"default": "all",
1484
1491
"markdownDescription": "Specifies the scope which must be used for search operation like \n - Find Reference\n - Call Hierarchy\n - Workspace Symbols",
0 commit comments