diff --git a/editors/code/package.json b/editors/code/package.json index 421124764071..c9404a4ddf0c 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -145,7 +145,7 @@ { "command": "rust-analyzer.onEnter", "key": "enter", - "when": "editorTextFocus && editorLangId == rust" + "when": "editorTextFocus && !suggestWidgetVisible && editorLangId == rust" } ], "configuration": {