Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8067965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:30:26+00:00 2026-06-05T12:30:26+00:00

There is a setting in Visual Studio 2010 to turn off copy and cut

  • 0

There is a setting in Visual Studio 2010 to turn off copy and cut commands when the cursor is on a blank line and there is no selection. However, when the cursor is not on a blank line and you press ctrl+C, it always copies the entire line to the clipboard. I find this very irritating because I always highlight something first, copy it, then place the cursor where I want to paste it and press ctrl+V. However, sometimes I miss the v and hit the c, which replaces the text on the clipboard with the text of the current line and I have to start all over…

Does anyone know how to turn off copying when there is no selection, regardless of whether the cursor is on a blank line or not?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:30:27+00:00Added an answer on June 5, 2026 at 12:30 pm

    There is the option in the settings:
    Go to Tools – Options -> Text Editor -> ALl Languages -> Apply Cut or Copy commands to blank lines when there is no selection

    Also if you accidentally copied something into clipboard you can use following shortcut:
    Ctrl+Shift+V – cycle through the clipboard ring.

    EDITED:
    It seems there is no option to turn of it because by default Ctrl-C is assigned to Edit.Copy command, which copies the current line if nothing is selected. However you can assign following macro to Ctrl-C and it should fix the issue:

    Sub CopyOnlyIfSelection()
        Dim s As String = DTE.ActiveDocument.Selection.Text
        Dim n As Integer = Len(s)
        If n > 0 Then
            DTE.ActiveDocument.Selection.Copy()
        End If
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a setting in Visual Studio 2008 that I can turn on which
Is there an easy way to copy a project in Visual Studio 2010 ?
I'm using Visual Studio 2010, and in my C++/CLI project there are two Code
When setting up a Setup Project in Visual Studio 2010 and even to I
Is there any way that I can get visual studio (2010 or other) to
I have issues setting up my deployment project in Visual Studio 2010. Im using
I'm using Visual Studio 2010 and AnkhSvn. There's a panel called PendingChanges (it's main
Is there a section in Visual Studio 2010 where it will give me an
Re: Visual Studio 2010 Silverlight 4.0 project. When setting the source for an image
I've been tasked with setting up source control for some Visual Studio 2010 solutions.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.