Skip to content

Commit 34cc5f5

Browse files
gayanperrgrunber
authored andcommitted
Add option for chain completion support.
- Fix existing typos in README Signed-off-by: Gayan Perera <[email protected]>
1 parent ed9ae06 commit 34cc5f5

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ The following settings are supported:
175175
> For backward compatibility, this setting also accepts boolean value, where `true` has the same meaning as `notification` and `false` has the same meaning as `off`.
176176
* `java.project.outputPath`: A relative path to the workspace where stores the compiled output. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project.
177177
* `java.project.referencedLibraries`: Configure glob patterns for referencing local libraries to a Java project.
178-
* `java.completion.maxResults`: Maximum number of completion results (not including snippets). `0` (the default value) disables the limit, all results are returned. In case of performance problems, consider setting a sensible limit..
178+
* `java.completion.maxResults`: Maximum number of completion results (not including snippets). `0` (the default value) disables the limit, all results are returned. In case of performance problems, consider setting a sensible limit.
179179
* `java.configuration.runtimes`: Map Java Execution Environments to local JDKs.
180180
* `java.server.launchMode`:
181-
- `Standard`: Provides full features such as intellisense, refactoring, building, Maven/Gradle support etc...
181+
- `Standard`: Provides full features such as intellisense, refactoring, building, Maven/Gradle support etc.
182182
- `LightWeight`: Starts a syntax server with lower start-up cost. Only provides syntax features such as outline, navigation, javadoc, syntax errors. The lightweight mode won't load thirdparty extensions, such as java test runner, java debugger, etc.
183183
- `Hybrid`: Provides full features with better responsiveness. It starts a standard language server and a secondary syntax server. The syntax server provides syntax features until the standard server is ready. And the syntax server will be shutdown automatically after the standard server is fully ready.
184184

@@ -234,6 +234,9 @@ The following settings are supported:
234234
* `java.completion.lazyResolveTextEdit.enabled`: [Experimental] Enable/disable lazily resolving text edits for code completion. Defaults to `true`.
235235
* `java.edit.validateAllOpenBuffersOnChanges`: Specifies whether to recheck all open Java files for diagnostics when editing a Java file. Defaults to `false`.
236236

237+
New in 1.20.0
238+
* `java.completion.chain.enabled`: Enable/disable chain completion support. Defaults to `false`.
239+
237240
Semantic Highlighting
238241
===============
239242
[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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,12 @@
616616
"markdownDescription": "Enable/disable postfix completion support. `#editor.snippetSuggestions#` can be used to customize how postfix snippets are sorted.",
617617
"scope": "window"
618618
},
619+
"java.completion.chain.enabled": {
620+
"type": "boolean",
621+
"default": false,
622+
"markdownDescription": "Enable/disable chain completion support. Chain completions are only available when completions are invoked by the completions shortcut",
623+
"scope": "window"
624+
},
619625
"java.completion.matchCase": {
620626
"type": "string",
621627
"enum": [

0 commit comments

Comments
 (0)