-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find references to fields via getters/setters #1646
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fbricon should we wait a day for results of https://twitter.com/VSCodeJava/status/1314145144791236608 , or are you fine with disabled by default ?
Change looks fine to me overall.
Whoops, meant to re-review myself. @snjeza I think this is fine to merge. We can always revisit the default value at a later time. |
README.md
Outdated
@@ -171,6 +171,9 @@ The following settings are supported: | |||
* `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). | |||
* `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). | |||
|
|||
New in 0.68.0: | |||
* `java.references.includeGetterSetter`: Include getter, setter and builder/constructor when finding references. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java.references.includeAccessors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default to true.
Signed-off-by: Snjezana Peco <[email protected]>
See eclipse-jdtls/eclipse.jdt.ls#1548
Requires eclipse-jdtls/eclipse.jdt.ls#1561
Signed-off-by: Snjezana Peco [email protected]