From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Harald Kirsch Newsgroups: gmane.emacs.devel Subject: Re: eglot-cthier.el --- show call hierarchy with Eglot (formally called eglot-hierarchy) Date: Wed, 11 Dec 2024 11:07:20 +0100 Message-ID: References: <43440606-4506-41c2-a608-18a910376d8e@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31028"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 11 11:09:00 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tLJeM-0007tS-DY for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 11:08:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLJd1-000475-FE; Wed, 11 Dec 2024 05:07:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLJcs-00045x-Ro for emacs-devel@gnu.org; Wed, 11 Dec 2024 05:07:27 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLJcp-0007IP-Cs for emacs-devel@gnu.org; Wed, 11 Dec 2024 05:07:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1733911640; x=1734516440; i=pifpafpuf@gmx.de; bh=CmSnYvtfU35dUuYfoT3Kfy/9Aw5EYkI3rzK2HTDcEpM=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Tkrfqsdgop3LpdBzw1s4JQIeVzNE4nM6AAJ9nLBndvk50NCYbmpYnkapvAGs1fL7 pAUJMZsZ0l5YIZS3Ochjf92bvpYbFjSom/4IRzZ68ikoYMnBplhbDeP0DxqwdjFhH b7+BeB39cRMSkUOeVq59iBSIDy1ttDcAYoUHiDkKggavBuh7+31X9Rm3vnqQfS7Ck 1I0mlfP3SkCZSo9pLcha8Sz/VRB3cpbPp3ZbnJxGpRc7IpWkLyAd6BkDhFjxQDQOw ePkyAHSD0JtDUI/ia9Moqky8Il2chTiKrPwXm5B/fVHwnGPY0MkBP++q5iZ/D+DBc pYQtrLee2veJ4e+oIA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.55.104] ([79.247.82.79]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MS3mt-1tAV2x25xT-00Irfn for ; Wed, 11 Dec 2024 11:07:20 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:laNkaLHhcdDzCd3HI+e+MJLZsxLfQ9e/d9F13yxKZOM885qlGlE +jGCCpRgN96upA+dnNSaD/crwvKZEJpe38vAQxaEIBDOpmo9pi2hstPw2BRvlSZMejYjY/I TaRq/XZwX7UFSxwTbWhc32QKxXpQEdTwCARAgvQ1UqTw4UyCoh1i/DuEv/BICdo3aw9tTqB ylh0hM6afL+31TzVzz4wg== UI-OutboundReport: notjunk:1;M01:P0:uLU17Jt05U4=;rrq/1yJudvId3wxA/Cw8aqL4mtx kWwCNOeoPH9yQ6/KhIA0RXSjo8ZyfjQOXfZVX2EAbyLACHJKn8WZs5GO8aFmrjWgd/lr0VkAE y/DbXuP/w/Jw44+oF3po9DbO+LINDGZkmVn79r3R9Xx66txhkpWG6ejCbG7sbKh9VdaMA4yEq Q67TRrvdCDYF2aO0mWJYb5K0iD9dGhlJCV0SDHCBXLSvi8i4qytuZZVEbum2s/PuRWovPziXx iCaTl7ZRJXZNH5imgMTxIR7aNCMHGcptcs4dhNlDYwSHJxj5C+rIiaIDx9PYos9+uRXuchT0M BCwIfsKlVvQR1TPhsOqNvmKlAAEW3d7aiUNP/O+mTEe3qjhzHbNGURnP9SBMieyHnIFYpBi34 GLYqaegnxLEg3hqUSI6ghdrGyWvLxKNqsXydHkEZRIbf6xvNXxsz9vM1PQ5xK2ELoOJ8OA5xR zN+h3T2+/iz+fKvFvj6C9MzX1ilf7Q/JuYm+zMupoORFmNVg5wjI4wgDEhZM/Ln9YLMRlMow2 tWyVM+7zcGnefhw25lojfWQAotYtGvfvqTMX2rFhs/wOPGKLPgnSx1ZjWKemShwyKuklgCAhf jQV3H/nXg83knBIiyyPRFZs5kbIwN3MmCZkbf4vFh+xMOkGx7IIzTm7Fbu2n/fV4THkHqSh3S a9U5SsEMDc1yk9VZ3Tdzp3tgA0A+GKL1pynVCcrXkzMzAi4YSH+KHOnc7qb+jJiS0dVM4ZaRo 6hvIeiyZ86nL/oFwQRYkmA+tt9PAR0QBQdwuWhsuju7vrArHPVGwy9SUo+yZDj5wW0/M5Tb6 Received-SPF: pass client-ip=212.227.17.20; envelope-from=pifpafpuf@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326337 Archived-At: Hi Gerd. On 10.12.24 15:44, Gerd M=C3=B6llmann wrote: > Harald Kirsch writes: > >> This shows a call hierarchy as a foldable tree, unfolded on demand. >> >> Through nice feedback here, on codeberg and on @HaraldKi@nrw.social, it >> got a significant update with bug fixes, enhancements and code improvem= ents. >> >> I test this with eglipse-jdts (Java) and tsc (TypeScript). >> >> https://codeberg.org/harald/eglot-supplements#call-hierarchy >> >> Feedback welcome. > > Major improvement, thanks Harald! > > I have only one minor wish: could you bind TAB like RET? I think things > like profiler-report do that, too. Easy enough. I realize magit uses TAB too to unfold things. https://codeberg.org/harald/eglot-supplements/issues/14 > Any plans for the other direction, i.e. functions called from another > function? Now we have incoming calls. There are also outgoing calls as well as subtype and supertype hierarchies, all with a very similar API. I have some code already for supertype. So ongoing. :-) https://codeberg.org/harald/eglot-supplements/issues/13 Harald