Skip to content

Add option to disable line wrap on debug console #72210

Closed

Description

@ccidral

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.

Activity

  1. added
    debug
    on Apr 12, 2019
  2. isidorn commented on Apr 12, 2019

    @isidorn

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

  3. added
    feature-request
    on Apr 12, 2019
  4. rea725 commented on Jun 14, 2019

    @rea725

    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.

  5. isidorn commented on Jun 17, 2019

    @isidorn

    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 Andre Weinand (@weinand)

  6. added
    verification-needed
    on Jun 17, 2019
  7. jrieken commented on Jun 25, 2019

    @jrieken
    Contributor

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

  8. pixtim commented on Jul 27, 2019

    @pixtim

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

  9. locked and limited conversation to collaborators on Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-requestrelease-notesverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions