Skip to content

Commit dd60102

Browse files
committed
Disable ';' key binding when smart semicolon detection is disabled
Signed-off-by: Fred Bricon <[email protected]>
1 parent 5347cc2 commit dd60102

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 1.22.1 (September 14th, 2023)
44
* bug fix - Removed some improvements to JDK detection as they were causing issues on MacOS. See [#3287](https://github.com/redhat-developer/vscode-java/issues/3287).
55
* bug fix - Log errors from project importer. See [JLS#2843](https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/2843).
6+
* bug fix - Disable `;` key binding when smart semicolon detection is disabled. See [#3290](https://github.com/redhat-developer/vscode-java/issues/3290).
67

78
## 1.22.0 (September 12th, 2023)
89
* performance - Stale code actions should be cancellable and paste actions should have higher priority. See [#3199](https://github.com/redhat-developer/vscode-java/issues/3199).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@
13221322
{
13231323
"command": "java.edit.smartSemicolonDetection.command",
13241324
"key": ";",
1325-
"when": "editorTextFocus && !editorReadonly && javaLSReady && editorLangId == java"
1325+
"when": "config.java.edit.smartSemicolonDetection.enabled && editorTextFocus && !editorReadonly && javaLSReady && editorLangId == java"
13261326
}
13271327
],
13281328
"menus": {

0 commit comments

Comments
 (0)