-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Copy all in debug console as plain text #28094
Comments
Thanks @zhaihm for openning a seperate feature request, pushing this to the backlog for now. Let's see if more users ask for this feature |
Please add some way to copy the debug console text!!! |
@Arlen22 copy the debug console text is already possible. |
@isidorn I suggest that "Copy" and "Copy All" always copy plain text. So this issue should just ensure that the existing "Copy" and "Copy All" actions copy plain text. |
@weinand I just tried to copy from the debug console but wasn't able to. The Copy command only copies from the active source file, not the debug console. And since it is not possible to manually select all text by scrolling up and down etc. there is no easy way to copy all text currently. It should really behave more like the terminal renderers. |
@isidorn we don't strip characters in the editor, the moment the content is being loaded into the editor, it's being decoded and then encoded in UTF16 (JavaScript string) so it's possible that some of the characters are decoded inproperly (but you can turn on render control characters to force them to be displayed) but copy and paste simply works on the text model which is the JavaScript string. |
I am just getting started in VS Code and in the Debug Output window, I can't seem to copy anything. I've highlighted what I want, done CTRL-C/right-click -> Copy .. but neither work. I can't paste anything to notepad or notepad++. This is both before and after the debug session is completed. I hate resorting to screenshots. |
@chillmanstr8 with "Debug Output window" you mean the Debug Console? |
We already strip the ansi characters before writing the content to the clipboard. @letmaik you can context menu -> copy all |
The problem I see is that copying large chunks of text (such as JSON) from the debug console often abbreviates the content with
It is infuriating. |
No action planned on the above discussion. Thus closing. |
In debug console, can we add a "Copy All (Unformatted)" or "Copy All (Plain text)" function to the right button menu?
When I copy/paste the log into text editor (like Notepad++), there are characters that editor can't display. It would be a lot easier to analyze the log if we can just copy the log as plain text.
@isidorn
The text was updated successfully, but these errors were encountered: