-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Collapse identical lines in the debug console #104162
Comments
This is a fair feature request, however we do not have it on our immediate plan. Thus assigning to backlog and we might add this in the future. Thanks! |
I went with 2 px pading. Based on your comment I have now increased it to 4px. |
What in the world? How do I disable this feature? I just spent the last few hours printing bits to the debug console and parsing the output using a diff tool with what is expected. The last time I ran this test, this feature didn't exist and everything worked as expected. When I right click and select "Copy All" it copies duplicate lines only once, which leaves out big groupings of bytes. The copied output doesn't even tell you that anything has been removed from the output. I can't find anything in the VSCode preferences to remove this option. |
@collinmdp I have pushed a fix for the "Copy All" not duplicating. You can try it out in vscode insiders from tomorrow and let us know how it goes. |
In the Chrome dev tools, duplicate lines are collapsed together:
Here, the
console.log
has run 19 times but because the output was the same, it just shows a "19" alongside the first print.I think this would work great in the Debug Console here too as it's not uncommon to have the same thing being printed a lot.
The text was updated successfully, but these errors were encountered: