GNU bug report logs - #61066
[PATCH] Add inlay hint support to eglot

Previous Next

Package: emacs;

Reported by: Dimitri Belopopsky <dimitri <at> belopopsky.com>

Date: Wed, 25 Jan 2023 22:35:01 UTC

Severity: normal

Tags: patch

Merged with 61412

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dimitri Belopopsky <dimitri <at> belopopsky.com>
To: 61066 <at> debbugs.gnu.org
Subject: bug#61066: [PATCH] Add inlay hint support to eglot
Date: Wed, 25 Jan 2023 23:34:02 +0100
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
[0001-Add-inlay-hints-to-eglot.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.