Skip to content

Diagnostics of extension-less files are cleared#1066

Merged
DavyLandman merged 6 commits intomainfrom
clear-diagnostics-of-extensionless-files
Apr 24, 2026
Merged

Diagnostics of extension-less files are cleared#1066
DavyLandman merged 6 commits intomainfrom
clear-diagnostics-of-extensionless-files

Conversation

@sungshik
Copy link
Copy Markdown
Contributor

@sungshik sungshik commented Apr 22, 2026

This PR fixes #1058. It doesn't add UI tests yet, because diagnostics cannot be reliably counted until #1065 is fixed.

With help from @toinehartman.

clear-diagnostics-extension-less-file

…ete events (so diagnostics of deleted files can be properly cleared)
Copy link
Copy Markdown
Member

@toinehartman toinehartman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we need to do this registration dynamically instead of statically.

Comment thread rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/BaseWorkspaceService.java Outdated
… all delete events (so diagnostics of deleted files can be properly cleared)"

This reverts commit ec0898c.
@sungshik sungshik marked this pull request as ready for review April 24, 2026 08:40
@sonarqubecloud
Copy link
Copy Markdown

@DavyLandman DavyLandman merged commit a50b03b into main Apr 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Diagnostics of extension-less files aren't cleared

3 participants