Vscode: References to deleted files remain in 'Problems' panel

Created on 25 Oct 2018  Â·  12Comments  Â·  Source: microsoft/vscode

Issue Type: Bug

Open a project.
Create a 'problem' in a file.
Display the 'Problems' panel.
Delete said file.
Note 'Problems' panel does not update.
Refresh the 'Explorer' project tree view.
Note 'Problems' panel still does not update.

image

VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)|
|GPU Status|2d_canvas: enabled
checker_imaging: disabled_off
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: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled|
|Memory (System)|15.88GB (9.08GB free)|
|Process Argv|.|
|Screen Reader|no|
|VM|0%|

Extensions (6)

Extension|Author (truncated)|Version
---|---|---
Bookmarks|ale|9.1.0
vscode-markdownlint|Dav|0.20.0
tslint|eg2|1.0.40
vscode-ionic-snippets|fiv|0.5.3
vscode-scss|mrm|0.6.2
subtitles-editor|pep|1.0.1


*not-reproducible javascript

Most helpful comment

I've just re-tested in latest insiders, with all extentions disabled, and it still occurs. Here's a gif:

oct-28-2018 09-40-41

All 12 comments

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Having the same issue on macOS, and just tested the latest insiders build and can replicate there too.

VS Code versoin 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850)
OS vesrion: macOS 10.13.6

This issue is about inaccuracies in the Problems panel, whereas it seems the issue to which your bot links is about showing/hiding the Problem panel.

Yes, I also see this on OSX. It's an old problem.

Duplicate of #59363

The ticket you marked this a duplicate of seems to be about closing files -- my report is about deleted files.

Does this reproduce in the latest VS Code insiders build with all extensions disabled? I can't repo this

Also is there a (deleted from disk) file still open in your editor like in #58088

I've just re-tested in latest insiders, with all extentions disabled, and it still occurs. Here's a gif:

oct-28-2018 09-40-41

I think it's not related to javascript as I have this problem on php files. Files are deleted from disk, are not opened in editor, and I restarted VSCode.

EDIT : actually, I just restart VSCode again, and it's gone

I'm unable to reproduce this issue anymore. I suspect this is a duplicate of #58088 that was fixed a few releases back.

Please let me know if you still see this when following the original repo steps

Fixed - thank you!

The issue is still there for me in the latest stable version (1.33.1) on OS X. Was this fixed in a newer version that hasn’t been released as stable for OS X yet?

The red color and dot on the containing folder also remains, even after refreshing the Explorer.

Restarting Code fixes it, as does closing the Workspace and then reopening it – but nothing less dramatic than that seems to fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

v-pavanp picture v-pavanp  Â·  3Comments

biij5698 picture biij5698  Â·  3Comments

philipgiuliani picture philipgiuliani  Â·  3Comments

mrkiley picture mrkiley  Â·  3Comments

chrisdias picture chrisdias  Â·  3Comments