unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* eglot-cthier.el --- show call and type hierarchy with Eglot
@ 2024-12-11 19:45 Harald Kirsch
  2024-12-11 20:20 ` Gerd Möllmann
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Kirsch @ 2024-12-11 19:45 UTC (permalink / raw)
  To: emacs-devel

An Eglot supplement which shows a call or type hierarchy as a foldable
tree, unfolded on demand.

Now it provides these four hierarchies:

- incoming calls
- outgoing calls
- supertypes
- subtypes

I tested less thoroughly than usual and may have messed up. So this is
for the interested and brave among you.

I test this with eglipse-jdts (Java) and tsc (TypeScript).

See https://codeberg.org/harald/eglot-supplements#call-hierarchy

Collected bugs and features:
https://codeberg.org/harald/eglot-supplements/issues

Feedback welcome.

Harald

--
HaraldKi@nrw.social




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: eglot-cthier.el --- show call and type hierarchy with Eglot
  2024-12-11 19:45 eglot-cthier.el --- show call and type hierarchy with Eglot Harald Kirsch
@ 2024-12-11 20:20 ` Gerd Möllmann
  2024-12-12  9:38   ` Harald Kirsch
  0 siblings, 1 reply; 4+ messages in thread
From: Gerd Möllmann @ 2024-12-11 20:20 UTC (permalink / raw)
  To: Harald Kirsch; +Cc: emacs-devel

Harald Kirsch <pifpafpuf@gmx.de> writes:

> An Eglot supplement which shows a call or type hierarchy as a foldable
> tree, unfolded on demand.
>
> Now it provides these four hierarchies:
>
> - incoming calls
> - outgoing calls
> - supertypes
> - subtypes
>
> I tested less thoroughly than usual and may have messed up. So this is
> for the interested and brave among you.
>
> I test this with eglipse-jdts (Java) and tsc (TypeScript).
>
> See https://codeberg.org/harald/eglot-supplements#call-hierarchy
>
> Collected bugs and features:
> https://codeberg.org/harald/eglot-supplements/issues
>
> Feedback welcome.
>
> Harald
>
> --
> HaraldKi@nrw.social

clangd 19.1.5 gives

:callHierarchy/outgoingCalls failed with (:code -32601 :message method not found)
error response on ‘:callHierarchy/outgoingCalls’, see *Message* for details




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: eglot-cthier.el --- show call and type hierarchy with Eglot
  2024-12-11 20:20 ` Gerd Möllmann
@ 2024-12-12  9:38   ` Harald Kirsch
  2024-12-12 10:12     ` Gerd Möllmann
  0 siblings, 1 reply; 4+ messages in thread
From: Harald Kirsch @ 2024-12-12  9:38 UTC (permalink / raw)
  To: Gerd Möllmann; +Cc: emacs-devel

Hi Gerd,

thanks for testing.

On 11.12.24 21:20, Gerd Möllmann wrote:
...

>> - incoming calls
>> - outgoing calls
>> - supertypes
>> - subtypes
...

>
> clangd 19.1.5 gives
>
> :callHierarchy/outgoingCalls failed with (:code -32601 :message method not found)
> error response on ‘:callHierarchy/outgoingCalls’, see *Message* for details
>

llvm-project:

commit 61fe67a4017375fd675f75652e857e837f77fa51
Author: Nathan Ridge <zeratul976@hotmail.com>
Date:   Thu Dec 5 09:54:42 2024 +0100

     [clangd] support outgoing calls in call hierarchy (#117673)

And: LLVM 19.1.5 release was Dec. 3, so your's may be a bit too old.
I'll put this aside for now. We can come back to it with a newer version.

Cheers,
Harald.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: eglot-cthier.el --- show call and type hierarchy with Eglot
  2024-12-12  9:38   ` Harald Kirsch
@ 2024-12-12 10:12     ` Gerd Möllmann
  0 siblings, 0 replies; 4+ messages in thread
From: Gerd Möllmann @ 2024-12-12 10:12 UTC (permalink / raw)
  To: Harald Kirsch; +Cc: emacs-devel

Harald Kirsch <pifpafpuf@gmx.de> writes:

> Hi Gerd,
>
> thanks for testing.
>
> On 11.12.24 21:20, Gerd Möllmann wrote:
> ...
>
>>> - incoming calls
>>> - outgoing calls
>>> - supertypes
>>> - subtypes
> ...
>
>>
>> clangd 19.1.5 gives
>>
>> :callHierarchy/outgoingCalls failed with (:code -32601 :message method not found)
>> error response on ‘:callHierarchy/outgoingCalls’, see *Message* for details
>>
>
> llvm-project:
>
> commit 61fe67a4017375fd675f75652e857e837f77fa51
> Author: Nathan Ridge <zeratul976@hotmail.com>
> Date:   Thu Dec 5 09:54:42 2024 +0100
>
>     [clangd] support outgoing calls in call hierarchy (#117673)
>
> And: LLVM 19.1.5 release was Dec. 3, so your's may be a bit too old.
> I'll put this aside for now. We can come back to it with a newer version.
>
> Cheers,
> Harald.

Thanks!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-12 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11 19:45 eglot-cthier.el --- show call and type hierarchy with Eglot Harald Kirsch
2024-12-11 20:20 ` Gerd Möllmann
2024-12-12  9:38   ` Harald Kirsch
2024-12-12 10:12     ` Gerd Möllmann

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).