Skip to content

Fix client request order for textDocument/diagnostics - #1723

Merged
Dirk Bäumer (dbaeumer) merged 3 commits into
mainfrom
dbaeumer/radical-amphibian-lime
Feb 9, 2026
Merged

Dirk Bäumer (dbaeumer) merged 3 commits into
mainfrom
dbaeumer/radical-amphibian-lime

Conversation

@dbaeumer

Copy link
Copy Markdown
Member

Ensure the client requests textDocument/diagnostics only after the corresponding textDocument/didOpen notification. This change addresses an issue where diagnostics were requested for files that had not been opened, potentially leading to incorrect diagnostics being displayed.

Fixes #1717

@dbaeumer
Dirk Bäumer (dbaeumer) merged commit d6bfeef into main Feb 9, 2026
6 checks passed
@dbaeumer
Dirk Bäumer (dbaeumer) deleted the dbaeumer/radical-amphibian-lime branch February 9, 2026 15:04
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.

Client requests textDocument/diagnostics before textDocument/didOpen

2 participants