Hello @Søren Dalby,
Welcome to Microsoft Q&A forum.
Do you mean Ctrl + C doesn't work?
I tested on my side with Visual Studio 2022 and the block did be inserted into the clipboard.
I suggest you check following aspects:
- After pressing Ctrl + C, press Win + V, Clipboard window will pop up. Check and confirm if the block/code does be inserted into the clipboard.
- Try to close VS, search and open
Developer Command Prompt for Visual Studio
from Windows Search box, rundevenv /safemode
. VS will be launched in safe mode(avoid any impact from extensions), try to check again. - If you try to select the block, right-click it and select
Copy
, will it be copied correctly? - Make sure that the
Edit.Copy (Ctrl+C (Global))
command has been assigned to Ctrl+C. See following screenshot:
Please feel free to let us know the results.
Kind Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.