Skip to content

Commit 8c21e1c

Browse files
jdneorgrunber
authored andcommitted
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 37fbf6c commit 8c21e1c

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ The following settings are supported:
135135
* `java.autobuild.enabled` : Enable/disable the 'auto build'.
136136
* `java.maxConcurrentBuilds`: Set max simultaneous project builds.
137137
* `java.completion.enabled` : Enable/disable code completion support.
138-
* `java.completion.overwrite` : When set to true, code completion overwrites the current text. When set to false, code is simply added instead.
139138
* `java.completion.guessMethodArguments` : When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.
140139
* `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.
141140
* `java.completion.favoriteStaticMembers` : Defines a list of static members or types with static members.
@@ -199,9 +198,13 @@ The following settings are supported:
199198
* `java.quickfix.showAt` : Show quickfixes at the problem or line level.
200199
* `java.configuration.workspaceCacheLimit` : The number of days (if enabled) to keep unused workspace cache data. Beyond this limit, cached workspace data may be removed.
201200
* `java.import.generatesMetadataFilesAtProjectRoot` : Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Defaults to `false`.
201+
* `java.inlayHints.parameterNames.enabled`: Enable/disable inlay hints for parameter names. Supported values are: `none`(isable parameter name hints), `literals`(Enable parameter name hints only for literal arguments) and `all`(Enable parameter name hints for literal and non-literal arguments). Defaults to `literals`.
202202

203-
New in 1.3.0:
204-
* `java.jdt.ls.java.home`: Absolute path to JDK home folder used to launch the Java Language Server. This setting will replace the Java extension's embedded JRE to start the Java Language Server. Requires VS Code restart.
203+
New in 1.5.0:
204+
* `java.inlayHints.parameterNames.enabled`: Enable/disable inlay hints for parameter names. Supported values are: `none`(Disable parameter name hints), `literals`(Enable parameter name hints only for literal arguments) and `all`(Enable parameter name hints for literal and non-literal arguments). Defaults to `literals`.
205+
206+
Removed in 1.5.0:
207+
* `java.completion.overwrite`: Please use `editor.suggest.insertMode` instead. Meanwhile, you can quickly switch to another mode by pressing `Shift` + `Tab` or `Shift` + `Enter` (the shortcut may be different depending on the local keymap settings).
205208

206209
Semantic Highlighting
207210
===============

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -477,12 +477,6 @@
477477
"description": "Enable/disable code completion support",
478478
"scope": "window"
479479
},
480-
"java.completion.overwrite": {
481-
"type": "boolean",
482-
"default": true,
483-
"description": "When set to true, code completion overwrites the current text. When set to false, code is simply added instead.",
484-
"scope": "window"
485-
},
486480
"java.completion.guessMethodArguments": {
487481
"type": "boolean",
488482
"default": false,

0 commit comments

Comments
 (0)