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: feedback request for new package: eglot-hierarchy --- show call hierarchy Date: Tue, 3 Dec 2024 12:49:29 +0100 Message-ID: <79a32dee-25a6-4af1-bf5d-54e259bf0e4a@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="30583"; 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 Tue Dec 03 12:50:36 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 1tIRQJ-0007nS-Rf for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Dec 2024 12:50:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIRPN-00028v-TT; Tue, 03 Dec 2024 06:49:37 -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 1tIRPN-00028m-5S for emacs-devel@gnu.org; Tue, 03 Dec 2024 06:49:37 -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 1tIRPL-0002Ar-6N for emacs-devel@gnu.org; Tue, 03 Dec 2024 06:49:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1733226571; x=1733831371; i=pifpafpuf@gmx.de; bh=fKdcnDtLIfGVSzkq2OK7kfJyOsSR3A3FnzZ5ZAy8m4E=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:From:Subject:To: Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=QtAJhm2gXXZ8KsN3YG8vbCieygHBielPHPwgl4KGYtjxDoVQBFTN3Uyju7YQYoaI Lau/oW75f3KZlriFEy1lQ4M44YsoTf+uhoiSempSbVVaCFwIGX6VF7GWhLCrL3WF4 czDo+3kXEs9ueajmowTgZjR4rcXto9PAteOIBIuLoVmoMprawjuR/OiEbm7kbVG6S P/xxyMMRXwVatGQ4VE4t2Ct+n60JHViu8rLvT8IWMFUzzHxgu9kjoukNpKk7Jy96r uShBG8AxkVvCaDyD/8E9u/5FllJ9yKmA8BRQk+CsGac6cuKRiAwN9WALZGLbyGLSh fG9ptg1mWGA1msWJaA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.55.104] ([79.247.82.79]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MwwZX-1tbkmH3ON1-00zIlc for ; Tue, 03 Dec 2024 12:49:30 +0100 Content-Language: en-US X-Provags-ID: V03:K1:RsAOlrcL2H6QFTxTLdPS9rJzYdq3MFjaGGMTZ2qqPyttUDIfWW1 lwMGuRo4f1UJ2GcbVMHF24tuL7eHrD+tA10c+UgGOsN6lymvoRJzo4Qj8vsI4dZh9cgEpF+ aSYMFaf7tArq13b+yHOV+0NsfOKJFOO4lSPrwkLAXbhB0T14OWg/x5sW5jRgV0rVvLIh0nU l4n5Mx8X5KTkwPWCn8FLQ== UI-OutboundReport: notjunk:1;M01:P0:6kWi6JTFAfs=;E9gvG9tfwDKIRVkg8P1qdnaqfD2 MNPuTf59JkHl39/d8W5W+9+OPwM+BtmDTqvzuHv4p/6aRqLXKeiRtozBsKsgj4C5EKLwLAePZ akMJhd0BRhPAq24DFueXum3YcQC0+n3/uMQ6jXOsQsSxApu+4uA+PVQG8FolVQ+fDr0oIpx0y QWLwbv8Gx7HJ6sd5/dLTH/5Pl+/TZiXN4o2Hm84TLs0KCJoxb1NgsEGHfp77ISQ0783M6Sm0o b5oOL/etX52DqB1uiO1jko6MtP/XN6wBS501XXReF3P6jgxVrMpwF+ZjYkL2jMCOd2S562cRM 8PpIleN73T1KeIp1XGxU1FObqb/aat0U89cjIZuFiKoZK8IIeUhXE8hCpQSSyNH+wKDu3gSnk FQrKUgMRJ/abwNiz+n4rvvW+/aFkaz56mtQSPOeEwTHGkyUuT3IDd06bDOhSterSPRkImN8wi g57zBQsTV60UKM2BbmuvFrdOB/vTtA/zWpKOWbIZEqWCH59MY7fguWYAHKpelhPtTNryTq/0e 1/16jSWJuDNssN2WTw+6bFrDJG0jxGQf0mdQpecqYpXsQrQaYBqTQUHw07TzP0OanSiIMYKoq l6/7B9Mxx0jpSMjKQip6TMCaYySGdWhODUhVx4t9TmA0PjdmBsEg4erootjF9UVC4hW0+Hl30 EnE5Y7xe843r1fpoFcy1y8k+hOedKLFbKmMHdZvrTcPaTTd4S039L3tniFps5+p27uNNmkKRA fOYMGBr+BTpVjA26fjexlLkwdDgsBbhgiVScYI+TbiZi3Te9l2GoNHyBzRwiMjCcfjOz5qbs 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_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:325980 Archived-At: Hi all, https://codeberg.org/harald/eglot-supplements#call-hierarchy has eglot-hierarchy.el which talks to a language server, requests the call hierarchy for the item at point and shows it as a simple tree in another buffer. Folding/unfolding the tree elements works for showing the respective code or jumping to it. So far it does only incoming calls. Depending on feedback I may look into outgoing calls as well as type hierarchies which look quite similar. I read over https://github.com/joaotavora/eglot/issues/614 but missed the link to https://github.com/dolmens/eglot-hierarchy . Just tried it and couldn't get it to work with eclipse-jdts or Typescript, so it seems either package needs more work :-) Feedback welcome. Harald =2D- HaraldKi@nrw.social