Skip to content

Comments

feat(lsp): Support displaying multiple errors in the lsp#2354

Merged
ospencer merged 2 commits intograin-lang:mainfrom
spotandjake:spotandjake/lsp_errors
Feb 8, 2026
Merged

feat(lsp): Support displaying multiple errors in the lsp#2354
ospencer merged 2 commits intograin-lang:mainfrom
spotandjake:spotandjake/lsp_errors

Conversation

@spotandjake
Copy link
Member

This pr adds support for displaying multiple well formedness errors in the lsp, this is a follow up pr to #2348. The way I implemented this was to keep a list of all reported errors and then we can go through the list when one is raised. I think whenever we complete #2342 we may want to streamline the error tracking api a little to handle this better but this should work as a good solution for now.

Demo Screenshot:
Screenshot 2026-02-05 at 2 38 58 PM

Closes: #2353

This pr adds support for displaying multiple well formedness errors in the lsp, this is a follow up pr to grain-lang#2348 . The way I implemented this was to keep a list of all reported errors and then we can go through the list when one is raised. I think whenever we complete grain-lang#2342 we may want to streamline the error tracking api a little to handle this better but this should work as a good solution for now.

Closes: grain-lang#2353
@spotandjake spotandjake self-assigned this Feb 5, 2026
@spotandjake spotandjake added enhancement lsp Issues related to the language server. labels Feb 5, 2026
@spotandjake
Copy link
Member Author

Applied those changes

@ospencer ospencer enabled auto-merge February 8, 2026 16:24
@ospencer ospencer added this pull request to the merge queue Feb 8, 2026
Merged via the queue into grain-lang:main with commit 4850458 Feb 8, 2026
12 checks passed
@github-actions github-actions bot mentioned this pull request Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement lsp Issues related to the language server.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LSP: Support displaying multiple compiler errors

2 participants