CTRL+D doesn't work in Visual Studio 2022

Viewed 1385

CTRL+D (duplicates) It doesn't work in visual studio 2022 , How to change Ctrl+E,V To CTRL+D ?

2 Answers

I just had the same problem. The issue for me was that Visual Studio 2022 had set the mapping scheme to Visual C# 2005 instead of (Default).

In the search bar at the top of Visual Studio 2022 (Ctrl+Q), search for key bindings, or go to Options->Environment->Keyboard. Make sure the keyboard mapping scheme is (Default).

I hope it helps.

Duplicate line is implemented via Ctrl+E,V as explained here.

This operation does leave the clipboard untouched.

Command and respective keys are shown in the Edit Menu.

Related