Skip to content

Ctrl+Enter not binding in find+replace menu #129666

Closed
@zkrising

Description

Issue Type: Bug

The find and replace widget no longer respects ctrl+enter as a command for replaceOne. My bindings as of a month ago were c-a-enter for replace all, and c-enter for replaceOne.

When I try to do this now, I get 'Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.'.

A cursory search of the repo for this text shows that nothing around it has been edited recently, which leads me to guess there's a regression somewhere?

Changing editor.action.replaceOne to ctrl+enter seems to not affect the input box at all. Infact, it says that replaceOne is bound to enter, but enter just inserts a newline.

VS Code version: Code 1.58.2 (c3f1263, 2021-07-14T22:10:15.214Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2

System Info
Item Value
CPUs AMD Ryzen 5 5600X 6-Core Processor (12 x 3700)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.93GB (2.23GB free)
Process Argv --crash-reporter-id 30d96df5-2e50-4bf3-97ca-4856d8aa435e
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.10.16.3-microsoft-standard-WSL2
CPUs AMD Ryzen 5 5600X 6-Core Processor (12 x 3699)
Memory (System) 12.43GB (6.80GB free)
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.10.16.3-microsoft-standard-WSL2
CPUs AMD Ryzen 5 5600X 6-Core Processor (12 x 3699)
Memory (System) 12.43GB (6.80GB free)
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.10.16.3-microsoft-standard-WSL2
CPUs AMD Ryzen 5 5600X 6-Core Processor (12 x 3699)
Memory (System) 12.43GB (6.80GB free)
VM 0%
Extensions (40)
Extension Author (truncated) Version
javascript-ejs-support Dig 1.3.1
es7-react-js-snippets dsz 3.1.1
vscode-firefox-debug fir 2.9.4
better-cpp-syntax jef 1.15.6
dotenv mik 1.0.1
vscode-json5 mrm 1.0.0
remote-containers ms- 0.187.1
remote-wsl ms- 0.58.2
vscode-icons vsc 11.5.0
xml2json bui 1.2.4
gitignore cod 0.7.0
vscode-svgviewer css 2.0.0
vscode-eslint dba 2.1.23
gitlens eam 11.6.0
prettier-vscode esb 8.1.0
vscode-pull-request-github Git 0.28.0
go gol 0.26.0
simple-vim jpo 0.0.5
restructuredtext lex 155.0.0
rainbow-csv mec 1.9.1
vscode-scss mrm 0.10.0
vscode-docker ms- 1.15.0
csharp ms- 1.23.13
cpptools ms- 1.5.1
hexeditor ms- 1.8.2
vscode-typescript-next ms- 4.4.20210727
gremlins nho 0.26.0
vscode-create-test-file pau 0.0.1
java red 0.80.0
vscode-commons red 0.0.6
vscode-yaml red 0.21.1
rust rus 0.7.8
vscode-coverage-gutters rya 2.8.0
vscode-node-tap sar 0.2.0
vscode-scss-formatter sib 2.2.3
vscode-vuln-cost sny 1.6.0
lua sum 2.3.3
vscodeintellicode Vis 1.2.14
literally-html web 0.1.3
file-size zh9 1.0.0

(2 theme extensions excluded)

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-findEditor find operationsinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions