Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Copying code from a forum thread?

Discussion in 'Meta-forum Discussion' started by Silverman71, Jan 13, 2018.

  1. Silverman71

    Silverman71

    Joined:
    Nov 14, 2017
    Posts:
    10
    Hi!

    New to the forum (which is great!) and I have a question regarding the threads.

    Within threads there are sometimes text formatted as Code and that "codesnippet" you sometimes wants to copy into Visual Studio.

    The problem is that the line-numbers always comes with the copied text into Visual Studio which makes it a bit tedious to remove all those line-numbers.

    Is there any other way to copy code from a thread or should this be considered a "feature" ? ;)
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    3,083
    I believe that if you do a text-only paste (crtl+shift+v), the line numbers are stripped, as they're formatting, not actual text.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    4,537
  4. giraffe1

    giraffe1

    Joined:
    Nov 1, 2014
    Posts:
    157