Copying code from a forum thread?

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” ? :wink:

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.

a bit related to this… i made browser plugin for myself to help with that…

this one adds 1 click copy-to-clipboard button in webpage scripts (forum and docs)

then this one directly pastes into file in unity project *going to make package manager package of this once that is available