Skip to content

Commit 15dae34

Browse files
snjezafbricon
authored andcommitted
Find references to fields via getters/setters
Signed-off-by: Snjezana Peco <[email protected]>
1 parent 6f08b04 commit 15dae34

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
@@ -171,6 +171,9 @@ The following settings are supported:
171171
* `java.templates.fileHeader`: Specifies the file header comment for new Java file. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](https://github.com/redhat-developer/vscode-java/wiki/Predefined-Variables-for-Java-Template-Snippets).
172172
* `java.templates.typeComment`: Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](https://github.com/redhat-developer/vscode-java/wiki/Predefined-Variables-for-Java-Template-Snippets).
173173

174+
New in 0.69.0:
175+
* `java.references.includeAccessors`: Include getter, setter and builder/constructor when finding references. Default to true.
176+
174177
Semantic Highlighting
175178
===============
176179
[Semantic Highlighting](https://github.com/redhat-developer/vscode-java/wiki/Semantic-Highlighting) is controlled by the `java.semanticHighlighting.enabled` preference. When enabled, it fixes numerous syntax highlighting issues with the default Java Textmate grammar. However, you might experience different small 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.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,12 @@
641641
"markdownDescription": "Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](command:_java.templateVariables).",
642642
"scope": "window",
643643
"default": []
644+
},
645+
"java.references.includeAccessors": {
646+
"type": "boolean",
647+
"default": true,
648+
"description": "Include getter, setter and builder/constructor when finding references.",
649+
"scope": "window"
644650
}
645651
}
646652
},

0 commit comments

Comments
 (0)