Skip to content

Closing file does not cause TS to remove errors related to that file #59363

@aaroncraig10e

Description

@aaroncraig10e

Issue Type: Bug

Open a file in VSCode Insiders with TS errors (such as a .ts or .tsx file).
Note that the errors are reported in the Problems pane
Close the file with cmd+w
Note that the errors are persisted in the Problems pane -- a window reload is required to get them to disappear

Possibly related to #58088
Also related to this issue: #50448

VS Code version: Code - Insiders 1.28.0-insider (29e6795, 2018-09-24T12:04:09.319Z)
OS version: Darwin x64 17.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)
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: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 7, 5, 5
Memory (System) 16.00GB (0.62GB free)
Process Argv -psn_0_3752852
Screen Reader no
VM 0%
Extensions (29)
Extension Author (truncated) Version
Bookmarks ale 9.1.0
project-manager ale 9.0.0
vscode-eslint dba 1.6.0
javascript-ejs-support Dig 0.3.2
githistory don 0.4.2
gitlens eam 8.5.6
tslint eg2 1.0.39
prettier-vscode esb 1.6.1
vscode-pull-request-github Git 0.1.6
jenkins-declarative-support jmM 0.1.0
terraform mau 1.3.5
dotenv mik 1.0.1
python ms- 2018.8.0
atom-keybindings ms- 3.0.4
azure-account ms- 0.4.3
vsliveshare ms- 0.3.709
debugger-for-chrome msj 4.10.1
vscode-jest Ort 2.9.0
vscode-docker Pet 0.3.0
material-icon-theme PKi 3.6.0
ruby reb 0.20.0
java red 0.31.0
jenkinsfile-support sec 0.1.0
slack soz 0.0.14
code-spell-checker str 1.6.10
vscode-java-debug vsc 0.13.0
vscode-java-test vsc 0.9.0
vscode-react-native vsm 0.6.17
markdown-all-in-one yzh 1.6.2

(6 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuestypescriptTypescript support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions