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 3843746
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:58:55+00:00 2026-05-19T15:58:55+00:00

When I copy-paste code from Websites (for example: http://www.west-wind.com/Weblog/posts/154812.aspx ) Visual Studio 2010 adds

  • 0

When I copy-paste code from Websites (for example: http://www.west-wind.com/Weblog/posts/154812.aspx) Visual Studio 2010 adds a new empty line after every line of code.

How can I prevent this from happening?

  • 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-05-19T15:58:55+00:00Added an answer on May 19, 2026 at 3:58 pm

    You should ask the author of that web page to fix it. It is not problem of Visual Studio. Each line of source code on that page is formatted as a new separate paragraph, empty lines are automatically inserted between paragraphs on copying. It is indeed a stupid idea to have each line in its own paragraph, and in addition it uses inline styling with atyle attribute instead of css classes. (This is needed to get rid of those empty lines in web browser.)

    I tried Internet Explorer and Firefox and they both put the text with empty lines to clipboard, so you have no chance to get it easily copied without empty lines regardless of which target editor you use. You need to do some tricks. Or ask the author of that page…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's my code for my Facebook share link: <a href=<%= HttpUtility.UrlPathEncode(http://www.facebook.com/sharer.php?u=http://www.apoads.com+ Request.Url.PathAndQuery) %> title=Share
How do you customize the Copy/Paste behavior in Visual Studio 2008? For example I
I have a graph showing a persons races times (if you copy/paste the code
Visual Studio has a plugin that allows one to copy code from any editor
How can I copy and paste in irb (Interactive Ruby Shell) on Windows?
It's generally accepted that copy and paste programming is a bad idea, but what
I've been a bad programmer because I am doing a copy and paste. An
When I create a graph after using range.copy and range.paste it leaves the paste
I want to copy a file from A to B in C#. How do
I need to copy about 40 databases from one server to another. The new

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.