Skip to content

Commit 79bbb73

Browse files
authored
Remove the setting: 'java.completion.overwrite' (#2427)
- Remove the setting: 'java.completion.overwrite' - Instead, we use 'editor.suggest.insertMode' to control the default completion behavior. Signed-off-by: sheche <[email protected]>
1 parent 72633ab commit 79bbb73

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ The following settings are supported:
136136
* `java.autobuild.enabled` : Enable/disable the 'auto build'.
137137
* `java.maxConcurrentBuilds`: Set max simultaneous project builds.
138138
* `java.completion.enabled` : Enable/disable code completion support.
139-
* `java.completion.overwrite` : When set to true, code completion overwrites the current text. When set to false, code is simply added instead.
140139
* `java.completion.guessMethodArguments` : When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.
141140
* `java.completion.filteredTypes`: Defines the type filters. All types whose fully qualified name matches the selected filter strings will be ignored in content assist or quick fix proposals and when organizing imports. For example 'java.awt.*' will hide all types from the awt packages.
142141
* `java.completion.favoriteStaticMembers` : Defines a list of static members or types with static members.
@@ -209,6 +208,9 @@ New in 1.6.0
209208
- `warning`: Show warning if a project has no explicit encoding set.
210209
- `setDefault`: Set the default workspace encoding settings.
211210

211+
Removed in 1.6.0
212+
* `java.completion.overwrite`: Please use `editor.suggest.insertMode` instead. You can quickly toggle between `insert` & `replace` modes with `Shift` + `Tab` or `Shift` + `Enter` (default keyboard shortcuts). See `acceptAlternativeSelectedSuggestion` from the keyboard shortcuts menu for further details.
213+
212214
Semantic Highlighting
213215
===============
214216
[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: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,6 @@
483483
"description": "Enable/disable code completion support",
484484
"scope": "window"
485485
},
486-
"java.completion.overwrite": {
487-
"type": "boolean",
488-
"default": true,
489-
"description": "When set to true, code completion overwrites the current text. When set to false, code is simply added instead.",
490-
"scope": "window"
491-
},
492486
"java.completion.guessMethodArguments": {
493487
"type": "boolean",
494488
"default": false,

0 commit comments

Comments
 (0)