bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61066: [PATCH] Add inlay hint support to eglot


From: Dimitri Belopopsky
Subject: bug#61066: [PATCH] Add inlay hint support to eglot
Date: Wed, 25 Jan 2023 23:34:02 +0100

Hello,

I've been working on adding support for inlay hints inside eglot using overlays.
Here is a working patch, but I'm still missing a few things:

- I can't figure out a way to show the hints on a document without causing lags or timeouts from the lsp server
- I'm currently updating the hints by sending the whole file each time (to make sure all hints get updated correctly). I'm not sure on how to make this more efficient (or if it even necessary).

On the implementation side:
- implemented with overlays as a minor model, enabled by default
- shows all hints supported by the protocol
- there is a customisation to disable the minor mode if the user doesn't want the feature

I'd love to get a few points to finish this patch, and of course any ideas and feedbacks are welcome!

Kind regards,

Dimitri Belopopsky

Attachment: 0001-Add-inlay-hints-to-eglot.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]