Skip to content

[Preview] First line in output after running any command is misaligned #2372

Closed
PowerShell/PowerShellEditorServices
#1162
@PrzemyslawKlys

Description

@PrzemyslawKlys

Issue Description

I am experiencing a problem with... extra tabs added to the first line.

image

It behaves the same for Warning/Verbose/Host or any other output. Always the first line has one or more tabs added making pretty output not so pretty.

Add:

Write-Host 'Test'
Write-Host 'Test2'

Run with F5:

image

Should be 0 tabs in the front for first Test.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.18363
VSCode 1.41.0
PowerShell Extension Version 2019.12.0

PowerShell Information

Name Value
PSVersion 7.0.0-rc.1
PSEdition Core
GitCommitId 7.0.0-rc.1
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0-rc.1
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
auto-rename-tag formulahendry 0.1.1
beautify HookyQR 1.5.0
bracket-pair-colorizer-2 CoenraadS 0.0.29
code-settings-sync Shan 3.4.3
codesnap adpyke 1.0.24
excel-to-markdown-table csholmq 1.1.0
gistfs vsls-contrib 0.0.21
github-linker gimenete 0.2.3
gitlens eamodio 10.2.0
html-preview-vscode george-alisson 0.2.5
markdown-all-in-one yzhang 2.6.1
markdown-preview-enhanced shd101wyy 0.5.0
markdown-shortcuts mdickin 0.12.0
material-icon-theme PKief 3.9.2
pdf tomoki1207 0.5.1
powershell-preview ms-vscode 2019.12.0
project-manager alefragnani 10.9.1
reg ionutvmi 1.0.1
theme-monokai-pro-vscode monokai 1.1.14
vscode-html-css ecmel 0.2.3
vscode-markdownlint DavidAnson 0.33.0
vscode-pull-request-github GitHub 0.13.0
vscode-wakatime WakaTime 2.2.1
vscode-yaml redhat 0.6.1
xml DotJoshJohnson 2.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions