[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69657: Missing imenu entries with eglot
From: |
Felician Nemeth |
Subject: |
bug#69657: Missing imenu entries with eglot |
Date: |
Fri, 08 Mar 2024 22:44:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
> 1. Put this code in a C++ source file, e.g., test.cpp:
>
> class Foo {
> void bar() {}
> };
>
> 2. Start eglot with clangd.
> 3. Invoke imenu; there will be a single entry "bar", nested under "Foo".
> In particular, there is no entry that lets you jump to Foo.
How do you invoke imenu? If I type M-x imenu-add-menubar-index RET,
then I cannot select "Foo" as you wrote above. However, if I apply the
patch, the menu looks exactly the same. On the other hand, the patch
seems to ruin breadcrumb-mode: putting the point after "{}", the
breadcrumb header line shows: "dir/test.cpp: Class > Foo" instead of the
original "dir/test.cpp: Class > Foo > bar".
$ clangd --version
Debian clangd version 14.0.6
Features: linux+grpc
- bug#69657: Missing imenu entries with eglot, Sebastian Poeplau, 2024/03/08
- bug#69657: Missing imenu entries with eglot,
Felician Nemeth <=
- bug#69657: Missing imenu entries with eglot, Sebastian Poeplau, 2024/03/08
- bug#69657: Missing imenu entries with eglot, Felician Nemeth, 2024/03/09
- bug#69657: Missing imenu entries with eglot, João Távora, 2024/03/09
- bug#69657: Missing imenu entries with eglot, Sebastian Poeplau, 2024/03/10
- bug#69657: Missing imenu entries with eglot, Sebastian Poeplau, 2024/03/10
- bug#69657: Missing imenu entries with eglot, João Távora, 2024/03/10
- bug#69657: Missing imenu entries with eglot, Sebastian Poeplau, 2024/03/17