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

Should update the diagnostics for the deleted resource and it's children #1283

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

testforstephen
Copy link
Contributor

@testforstephen testforstephen commented Nov 20, 2019

Signed-off-by: Jinbo Wang [email protected]

Fix redhat-developer/vscode-java#1152

When rename or delete a package (or folder), the didChangedWatchedFiles event only reports the folder is deleted, so WorkspaceEventsHandler won't clean up the children's diagnostics. WorkspaceDiagnosticsHandler has the ability to recursively visit the all deleted resources, it needs make sure to clean up all stale diagnostics state.

@testforstephen testforstephen requested review from snjeza and fbricon and removed request for snjeza November 20, 2019 08:29
@eclipse-jdtls eclipse-jdtls deleted a comment from pecko Nov 20, 2019
@snjeza
Copy link
Contributor

snjeza commented Nov 20, 2019

test this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems not updated when I changed the name of the package folder
3 participants