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

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

Re: Moving point around empty overlays with 'after-text


From: Platon Pronko
Subject: Re: Moving point around empty overlays with 'after-text
Date: Mon, 10 Apr 2023 13:26:13 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1

On 2023-04-10 13:01, Eli Zaretskii wrote:

But inlay hints seem to be a common functionality for any modern IDE nowdays, so it 
might make sense to support them natively, without making major-mode developers 
resort >> to horrible hacks like described before.
Well, maybe "someone" should reconsider whether using overlays for
that is a good idea, then?

I agree, using overlays as they are currently implemented is definitely not 
optimal. Are there some better alternatives?

Why not help-echo, for example?

This will show the help only for the current symbol, while the way inline hints 
are used is to show annotations for many symbols on the screen (for example, 
you have 20 different variable definitions, and IDE shows you inline type hints 
for each of them).



reply via email to

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