Skip to content

Problems in .py file do not disappear when closing a file which is checked into source control #2085

Closed
@dbaeumer

Description

@dbaeumer

From @jan11011977 on June 29, 2018 8:52

Issue Type: Bug

If you open a file, and then close it again, the problems for that file stay in the Problems window. Over time the number of problems in the list grows, eventually causing me to have to restart Visual Studio Code just to clear the list.

I am using the Python extension, but this is also happening for the Go extension, for Javascript, etc. So it's not specific to a particular plugin. It's a problem with VSCode itself.

The behaviour I expect would be that problems generated by a Task hang around permanently, but that problems generated when opening a file will disappear again when that file is closed.

This issue has been reported numerous times before:
microsoft/vscode#29169
microsoft/vscode#15524
microsoft/vscode-go#1036
trixnz/vscode-lua#32
microsoft/vscode#52348
microsoft/vscode#23010
microsoft/vscode#50448
angular/vscode-ng-language-service#185

Pretty much all of these have been closed for one reason or another, without a fix,. This is still clearly a serious usability problem for a lot of people, so I am opening another bug for it. I am hoping this will draw attention to underlying problem.

Thanks!

VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.90GB (9.07GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
python ms- 2018.6.0
jinjahtml sam 0.3.0
perforce sle 3.1.0

Copied from original issue: microsoft/vscode#53310

Metadata

Metadata

Assignees

Labels

area-lintingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions