Coder Social home page Coder Social logo

Comments (11)

kliemohn avatar kliemohn commented on May 18, 2024 1

This issue is really important. It makes VS Code almost unusable for PowerShell use in my opinion.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Yep, I've been talking to the VS Code team about this, hopefully we'll get some improvements for long output lines in the next release.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Tracked in the VS Code repo with this issue:

microsoft/vscode#255

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

I agree, it makes the console pretty useless when you can't see multi-line output from a command. Hopefully the VS Code team will get this fixed for their next release.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Hi guys, this situation should improve a lot in the upcoming 0.10.7 and 0.4.0 releases of VS Code and the PowerShell extension. Once those are out I'll comment back here so you can go try it out and let me know what you think.

from vscode-powershell.

rkeithhill avatar rkeithhill commented on May 18, 2024

It is definitely better but the output seems to be wrapping at column 80 and my Debug Console window is much wider than that.

    Directory: C:\Users\Keith\GitHub\rkeithhill\PowerShellEditorServices\src\Po
    werShellEditorServices.Host\bin\Debug


Mode                LastWriteTime         Length Name                          
----                -------------         ------ ----                          
               2/2/2016  10:46 PM         114427 DebugAdapter.log              
               2/2/2016  10:35 PM        1101753 EditorServices.log            
-a----         2/2/2016  10:35 PM         118272 Microsoft.PowerShell.EditorSer
                                                 vices.dll 

If we can't detect the column width of the output window perhaps we make this a debug setting the user can set in their preferences (I would default it to 120). Then we run output through something like Out-String -Width <n>.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

That's a great point actually, we should add a config setting for that. In the meantime I'll increase the width of the virtual console. What would be a good default width, 100? 120?

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Filed an issue for the configuration setting here: #80

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Also created this issue for increasing the default console width: PowerShell/PowerShellEditorServices#129

from vscode-powershell.

rkeithhill avatar rkeithhill commented on May 18, 2024

Given the horizontal debug window in 0.10.7, I suggest 120.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Keith has fixed this in PowerShell Editor Services, you should have better output wrapping in the 0.4.0 release next week!

from vscode-powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.