lint: Make F8/nextDiagnostic show relevant tooltip #1697
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
IDEs like VS Code or Zed also show the description of the error when pressing F8, which is really handy. I'd would be nice if @codemirror/lint behaved the same (currently it only selects the range of the diagnostic but does not display the tooltip).
See attached patch. VS Code has dedicated widgets that work differently from tooltips for these, and keeps them open until you explicitly close them. That didn't seem appropriate, so these close as soon as you move the cursor away or edit the document.
Awesome, works like a charm!