'CTRL+D doesn't work in Visual Studio 2022

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



Solution 1:[1]

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.

Solution 2:[2]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Axel Kemper
Solution 2 MatthiasA