Linting makes editing hard
See original GitHub issue
The screenshot shows a simple file which only misses the end tag </xs:schema>. This little issue results in the whole document being marked invalid, which doesn’t help much. The file becomes harder to read while editing and doesn’t tell much about the origin of the error.
I’d expect only the opening tag name and/or the end of the document being marked invalid. The content in between is very correct.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Development productivity using a linting tool - TechnoIdentity
Benefits of using a linting tool They help you keep the code clean, tidy, and at high quality, promoting clarity of mind of...
Read more >Make linting great again! - Medium
Lint -staged is a Node.js script that allows you to run arbitrary scripts against currently staged files. In git, a file is being...
Read more >How to write better code with linting, formatting, and analysis ...
Linters are most helpful when integrated into the editor to scan the code as you type for the fastest possible feedback. Possible errors...
Read more >Linting in the editor should follow the linting configuration #8321
This makes configuration easy for someone who just opens up a repo for which there are predefined code standards (e.g. no docstrings in...
Read more >Linting | The Odin Project
Introduction. Before we dive all the way into the Code, we are going to take a moment to improve your editor setup. Doing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

If old in “Keep the old diagnostic range on clients that don’t support.” means current behavior, I would say “yes”
Yes, LSP for Sublime Text does support it.
Here is an example gif
Keep in mind that I hard coded the response to include the
diagnostic.relatedInformationfield, so this is actually not provided by the language server, but rather just for demonstrating purposes.Sublime Text just shows related diagnostics information in the hover popup, when hovering over the diagnostics.
VS Code show
relatedInformationin the diagnostics panel and the hover popup.