[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61412: Inlay activation
From: |
Chinmay Dalal |
Subject: |
bug#61412: Inlay activation |
Date: |
Thu, 16 Feb 2023 00:18:41 +0530 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: joaotavora@gmail.com
>> From: Chinmay Dalal <dalal.chinmay.0101@gmail.com>
>> Date: Wed, 15 Feb 2023 21:54:57 +0530
>>
>> Regarding keybinding, on the github discussion someone suggested that
>> vscode shows them while a key combination is held and hides them when
>> they are released, but I was told emacs can't do this.
>
> Not only can we not do this, it is also not our style. If we want to
> show hints, we either show tooltips, or display a message in the echo
> area.
Tooltips and echo area can't be used as inlay hints are for showing
types of multiple variables/expressions and names of parameters at once.
See the attached screenshots for an example (this is from my
implementation in this patch)
C++ (clangd):
clangd_inlay.png
Description: PNG image
Rust (rust-analyzer):
ra_inlay.png
Description: PNG image
- bug#61412: [PATCH] Add inlay hints to eglot, (continued)
- bug#61412: [PATCH v3] Add inlay hints to eglot, Chinmay Dalal, 2023/02/15
- bug#61412: [PATCH v2] Add inlay hints to eglot, Chinmay Dalal, 2023/02/15
- bug#61412: Inlay activation, Chinmay Dalal, 2023/02/15
- bug#61412: Inlay activation, Eli Zaretskii, 2023/02/15
- bug#61412: Inlay activation, Eli Zaretskii, 2023/02/15
- bug#61412: Inlay activation, Chinmay Dalal, 2023/02/15
- bug#61412: Inlay hints implementation, João Távora, 2023/02/21
- bug#61412: Inlay hints implementation, Eli Zaretskii, 2023/02/21
- bug#61412: Inlay hints implementation, Dimitri Belopopsky, 2023/02/21
- bug#61412: Inlay hints implementation, João Távora, 2023/02/21
- bug#61412: Inlay hints implementation, João Távora, 2023/02/24
- bug#61412: Inlay hints implementation, Eli Zaretskii, 2023/02/25