Ctrl+C does not copy block selected by mouse (I want notepad behavior)

Søren Dalby 20 Reputation points

I would like that when I select a block with mouse - for instance by double clicking on a word - and presses Ctrl+C that the value is inserted in the clipboard. Just like notepad or any other editor.

I think default behavior is that it is used for search. I have no use for that. I have also tried that it copies the entire line but I think that I managed to get rid of this.

PS. I use resharper if that makes a difference.

Thanks in advance

Kind regards

Soeren D.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,704 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,821 Reputation points Microsoft Vendor

    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:

    1. 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.
    2. Try to close VS, search and open Developer Command Prompt for Visual Studio from Windows Search box, run devenv /safemode. VS will be launched in safe mode(avoid any impact from extensions), try to check again.
    3. If you try to select the block, right-click it and select Copy, will it be copied correctly?
    4. Make sure that the Edit.Copy (Ctrl+C (Global)) command has been assigned to Ctrl+C. See following screenshot:

    User's image

    Please feel free to let us know the results.

    Kind Regards,


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful