-
-
Notifications
You must be signed in to change notification settings - Fork 399
Open
Labels
status: in discussionNot actionable, because discussion is still ongoing or there's no decision yetNot actionable, because discussion is still ongoing or there's no decision yettype: enhancementNew feature or requestNew feature or request
Description
Prompted by an issue with lsp-mode
where they started showing code lenses at the end of the line instead of above the line by default (emacs-lsp/lsp-mode#3749). I made an issue in the spec repo (microsoft/language-server-protocol#1558) to ask whether clients can make any assumptions about where code lenses are displayed.
The answer seems to be no, we should not make assumptions about where code lenses are displayed. That means that the way we're using them to display type signatures is fundamentally unreliable. Fortunately, there is a feature that does allow specific placement of something in the buffer: inlay hints.
So I think the "right thing" here is to convert the code lenses that display type signatures into inlay hints.
georgefst, July541, JaSpa and yttriumz
Metadata
Metadata
Assignees
Labels
status: in discussionNot actionable, because discussion is still ongoing or there's no decision yetNot actionable, because discussion is still ongoing or there's no decision yettype: enhancementNew feature or requestNew feature or request