Skip to content
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

Tasks problemMatcher is getting truncated lines #127073

Closed
ababak opened this issue Jun 24, 2021 · 12 comments
Closed

Tasks problemMatcher is getting truncated lines #127073

ababak opened this issue Jun 24, 2021 · 12 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@ababak
Copy link

ababak commented Jun 24, 2021

Issue Type: Bug

The lines are truncated on terminal window width and my regular exression that ends with "$" matches incomplete lines.

VS Code version: Code 1.57.1 (507ce72, 2021-06-17T13:28:32.912Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No
Remote OS version: Windows_NT x64 10.0.18363
Remote OS version: Windows_NT x64 10.0.18363
Remote OS version: Windows_NT x64 10.0.18363

Extensions (22)
Extension Author (truncated) Version
remote-containers ms- 0.183.0
remote-ssh ms- 0.65.7
remote-ssh-edit ms- 0.65.7
remote-wsl ms- 0.56.5
vscode-remote-extensionpack ms- 0.21.0
vscode-usda-syntax ani 0.2.0
gitlens eam 11.5.1
vscode-docker ms- 1.14.0
python ms- 2021.6.944021595
vscode-pylance ms- 2021.6.3
jupyter ms- 2021.6.999660014
cmake-tools ms- 1.7.3
cpptools ms- 1.5.0-insiders2
hexeditor ms- 1.7.1
autodocstring njp 0.5.4
psi-header psi 1.15.2
vscode-commons red 0.0.6
vscode-yaml red 0.20.0
html-preview-vscode tht 0.2.5
cmake twx 0.0.17
docker vsc 1.0.0
yaml vsc 1.0.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30311712
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255cf:30323309
vscorehov:30309549
vscod805:30301674
vscextlang:30322306
binariesv615:30325510

@ababak
Copy link
Author

ababak commented Jun 24, 2021

"pattern": {
    "regexp": "^(?:C:)?\\\\(.*)\\((.+)\\):\\s+(warning|error) (\\w{1,2}\\d+):\\s+(.*)$",
    "file": 1,
    "location": 2,
    "severity": 3,
    "code": 4,
    "message": 5
}

Screenshot 2021-06-24 at 14 11 09

Screenshot 2021-06-24 at 14 11 35

@alexr00
Copy link
Member

alexr00 commented Jun 24, 2021

@ababak can you please share any terminal related settings you have set?

@alexr00 alexr00 added the info-needed Issue requires more information from poster label Jun 24, 2021
@ababak
Copy link
Author

ababak commented Jun 24, 2021

@alexr00 that's all I've found

"terminal.integrated.rendererType": "experimentalWebgl",
"terminal.integrated.fontSize": 14,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"terminal.integrated.scrollback": 10000,

@ababak
Copy link
Author

ababak commented Jun 24, 2021

The output is coming from Python script that runs a Windows docker container that performs the build, if it matters.

@alexr00
Copy link
Member

alexr00 commented Jun 24, 2021

@ababak are you using the Remote SSH extension when you're seeing this issue?

@Tyriar and @meganrogge this kind of issue usually stems from a terminal line wrapping issue. Any ideas?

@ababak
Copy link
Author

ababak commented Jun 24, 2021

Yes, I am using Remote SSH on a Mac to connect to my work Windows PC.
I've just tested this directly on target PC and it seems that the problem is only with the Remote SSH.

@Tyriar
Copy link
Member

Tyriar commented Jun 24, 2021

@alexr00 the hack is fixed and removed for newer versions of Windows (build 21376+) #91898. I don't think there's anything we can do other than wait.

@alexr00
Copy link
Member

alexr00 commented Jun 25, 2021

@Tyriar it's just a bit strange that the issue would occur only when SSHing into the PC, but not when using VS Code locally on the PC without SSH.

@ababak since your PC is a work PC it seems likely you're unable to update it. @Tyriar is there anything else we can suggest users do in this case other than wait until their work decides its time to update?

@ababak
Copy link
Author

ababak commented Jun 25, 2021

@alexr00 Thanks for the suggestion, I'll speak with our IT guys about the updates.

@Tyriar
Copy link
Member

Tyriar commented Jun 25, 2021

@alexr00 winpty used to be forced for remotes but I believe that restriction is removed now after #71966 was fixed, I couldn't find anywhere special casing remotes. Regardless only Windows Insiders are on the build that enables wrapping support yet. I can't explain why it's just happening on remotes for @ababak.

@alexr00
Copy link
Member

alexr00 commented Jun 25, 2021

Ok, I will leave it up to you @Tyriar to decide what you want to do with this issue then.

@alexr00 alexr00 assigned Tyriar and unassigned alexr00 Jun 25, 2021
@Tyriar
Copy link
Member

Tyriar commented Jun 28, 2021

Don't think we can do anything but wait for Windows to update, the good new is I expect it to be fixed and work well in Windows 11.

@Tyriar Tyriar closed this as completed Jun 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants