Vscode: Add option to disable line wrap on debug console

Created on 12 Apr 2019  路  5Comments  路  Source: microsoft/vscode

The debug console wraps lines whose length exceeds the debug console panel's width. Sometimes it becomes difficult to read the debug console output when there are multiple long lines. It would be great if there was an option to disable line wrap on the debug console.

debug debug-console feature-request release-notes verification-needed verified

Most helpful comment

I have introduced debug.console.wordWrap setting. Try it out with tomorrow's vscode insiders and let me know how it behaves
https://code.visualstudio.com/insiders/

Verifier: make sure that debug console word wrpaing is respecting this setting.
When debug.console.wordWrap is true the debug console behaves as always (it wraps longs lines in multiple). When it is false, all long lines will always be one line and the horizontal scroll bar is shown.

fyi @weinand

All 5 comments

This is a fair feature request.
Leaving it open to gather more feedback for now.
debug.console.wordWrap by default true

This is critical for certain use cases. For instance, I do a ton of debugging in other IDEs where I ad-hoc print out formatted text tables, which are usually pretty wide. These need word wrapping to be turned off in order to be human-readable. This is a blocker for our entire team to fully adopt VS Code and deprecate our use of 2 other IDEs.

I have introduced debug.console.wordWrap setting. Try it out with tomorrow's vscode insiders and let me know how it behaves
https://code.visualstudio.com/insiders/

Verifier: make sure that debug console word wrpaing is respecting this setting.
When debug.console.wordWrap is true the debug console behaves as always (it wraps longs lines in multiple). When it is false, all long lines will always be one line and the horizontal scroll bar is shown.

fyi @weinand

verified but I am not sure if it actually works...

@isidorn Thanks for adding this! I can confirm that it's working.
Screenshot from 2019-07-28 00-32-54

Was this page helpful?
0 / 5 - 0 ratings

Related issues

villiv picture villiv  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

lukehoban picture lukehoban  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments