Skip to content

Commit 2e472bc

Browse files
committed
Add setting to control method declaration lookups in source files.
- Add java.symbols.includeSourceMethodDeclarations, defaulting to false Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent f911f00 commit 2e472bc

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ The following settings are supported:
181181
* `java.configuration.maven.globalSettings` : Path to Maven's global settings.xml.
182182
* `java.eclipse.downloadSources` : Enable/disable download of Maven source artifacts for Eclipse projects.
183183
* `java.recommendations.dependency.analytics.show` : Show the recommended Dependency Analytics extension.
184-
185-
New in 0.77.0:
186184
* `java.references.includeDecompiledSources` : Include the decompiled sources when finding references. Default to true.
187185
* `java.project.sourcePaths`: Relative paths to the workspace where stores the source files. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project.
188186
* `java.typeHierarchy.lazyLoad`: 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.
@@ -192,6 +190,9 @@ New in 0.77.0:
192190
- `lastMember`: Insert the generated code as the last member of the target type.
193191
* `java.settings.url` : Specifies the url or file path to the workspace Java settings. See [Setting Global Preferences](https://github.com/redhat-developer/vscode-java/wiki/Settings-Global-Preferences)
194192

193+
New in 0.78.0:
194+
* `java.symbols.includeSourceMethodDeclarations` : Include method declarations from source files in symbol search. Defaults to `false`.
195+
195196
Semantic Highlighting
196197
===============
197198
[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
@@ -765,6 +765,12 @@
765765
"markdownDescription": "Specifies the url or file path to the workspace Java settings. See [Setting Global Preferences](https://github.com/redhat-developer/vscode-java/wiki/Settings-Global-Preferences)",
766766
"default": null,
767767
"scope": "window"
768+
},
769+
"java.symbols.includeSourceMethodDeclarations": {
770+
"type": "boolean",
771+
"markdownDescription": "Include method declarations from source files in symbol search.",
772+
"default": false,
773+
"scope": "window"
768774
}
769775
}
770776
},

0 commit comments

Comments
 (0)