lsp: workspace/inlayHint/refresh
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
lean4-mode in Emacs had been working well for me until 2 weeks ago. However, starting with 4.18.0-rc1, now the "Warnings" buffer gets spammed with messages:
⛔ Warning (lsp-mode): Unknown request method: workspace/inlayHint/refresh
These obscure the "Lean Goal" buffer and require continual user interactions to dismiss.
Other emacs users report the same problem in this zulip discussion. From that discussion, I gather that Lean ought to be able to disable the workspace/inlayHint/refresh method for lsp implementations that don't support it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lean4-mode's interaction with lsp-mode and the workspace/inlayHint/refresh request, using the linked Zulip discussion for context. Done means unsupported implementations no longer spam Emacs's Warnings buffer while the refresh request remains compatible with implementations that support it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100