Skip to content

feat: add links to diagnostic error codes via codeDescription#2936

Merged
dummdidumm merged 1 commit intosveltejs:masterfrom
jasonlyu123:code-description2
Feb 13, 2026
Merged

feat: add links to diagnostic error codes via codeDescription#2936
dummdidumm merged 1 commit intosveltejs:masterfrom
jasonlyu123:code-description2

Conversation

@jasonlyu123
Copy link
Member

#2933

Alternative to #2934. I originally suggested we should use the short url format in that PR. After discussion with Simon, I think it might be better to use the full path. When using the "svelte.dev/e/xxx" format, the wrong code gets a 404 page. However, in full path, it at least goes to the page. This way, we can support Svelte 4 by replacing the "-" in diagnostics code with "_".

(Yes. It's pretty much the original version of #2934. But the PR never run test properly.)

@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2026

🦋 Changeset detected

Latest commit: f1244b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-language-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dummdidumm dummdidumm merged commit 2142753 into sveltejs:master Feb 13, 2026
3 checks passed
@github-actions github-actions bot mentioned this pull request Feb 13, 2026
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.

2 participants