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: eglot-cthier.el --- show call and type hierarchy with Eglot Date: Wed, 11 Dec 2024 20:45:53 +0100 Message-ID: <21926049-9a29-4d60-801f-c8ffa03516f9@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="14190"; 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 20:46:55 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 1tLSff-0003Ty-HR for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 20:46:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLSer-00033h-62; Wed, 11 Dec 2024 14:46:05 -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 1tLSen-00033N-LD for emacs-devel@gnu.org; Wed, 11 Dec 2024 14:46:01 -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 1tLSel-000087-N4 for emacs-devel@gnu.org; Wed, 11 Dec 2024 14:46:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1733946354; x=1734551154; i=pifpafpuf@gmx.de; bh=ioIf5hUeogqjrjNXXLAeCd3myq1D849qCI+EMr2jmdE=; 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=Wg6rZXfmS9SSo9e73O3aF502Uz18tLy6N8KiYHn/Vgc2tv9c2oIxzq0iAjLwhsuX /A1nDz8FCkXOgEcIrNT/SE/CNfUI+36syqtccpLo+4SdnBstBES0ARFOGaYrsVX4V jEX3+rWjEu8ky+oYMpDOuGsdqnRZXPf4/SsP9iDARPW3Yucw76nmjjlPp/zzYupx+ x9GaSNewPsAZs+BoQ+TAmjrsAkzo89thtjpOkmiZdCjDPLrslUEuEbljK6svvuTw0 h8tX3tT/3Yr/K2tmoWQCJDIoHXL9tzLaq/l045mZ2fHVzJLUbrXXl+h5r4I0F1ysj gOVUeqmjsvoWFwkuiw== 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 1ML9uU-1t4LD61Tec-00UAFa for ; Wed, 11 Dec 2024 20:45:54 +0100 Content-Language: en-US X-Provags-ID: V03:K1:uVfXBHYYQnYH5itN28rsODzKHK3Zz0UaqXYamw/tJl31KF+XAwz 3e05AzqxdSLsYbw9Q/capxi4xRDz6W+OVKNVJGym3TtAKqKPYw+Hz9Ne6fE9UxYhUmAazix RIEekObS0IGicHbualYdcAWpQCzhjOwQ4tSnhNAicDrqzhs4OxhIjc4LKIJCai0kFrOsU3f 1exrfkbS73EB5fBFbgKQg== UI-OutboundReport: notjunk:1;M01:P0:oJOkNZcMtIw=;8LxqlDu4PwcH+cXMGgu/5QIVGVE nTURXhAPDo+RHDFnY1z/cFV3cZx5EATceP3ilmhRxOlvptvXkPamQLr2lfyV61eBzpmqec6AT WOBiFZeaWjfqVZWkYQpZE/6eVZVTHzcgluVnSAlxDiRxNnSuNJrUz2L2wYeL3wHjAJLAyrzZl f/p2NIq2aA7FP0EwfXfWF2GGlbIUE6DrAsI2RIpdPvz3uzYq3jYpoQnmkAOsq41m0S5t9dLDf PJN9XCxqLkxqgM/E+K21vThemVehMWNDyppeE6975LQsjjB1KJTB3XQQzdsbHwU7I6Na/qwOo 5j3UiknzxyY69lfvPQD490ZTVHl1qgxeTL01yw261/+tVIsjq1JKgr058PVSKlV8qvQ+iME/G gkxXO5pj9DgmTcDCq7ZZ20o6M+vt6hMeI1ARXLNnkvli1JJ+LzUBRsMfMTv6kIy1xDUhL0pRk m5c61clr0MHDqGioHHhr9uBfJzMvEqmfFF/oW8VdEpZDD2xA4BFrsDokLFc6bEVTVTbryiRQC ASHjXJaztzhkT1Ndrml7bMrk5tTc6hRYRjKmlJEQ/l+R2V9NB2RGnLxFmEALH0EN0z3H1qvgQ ZRcDOkctEbi/lmayys8UaRcd9ZKk3HvIrYBOkzaAnebnvS4oqqMJfaDDqMXpEV1oV/uRtEPUJ H0//XJGaSn94BYlsFU/KWE3JARSyd9u8JxIewczWXEDJwUEVJuGGMD6GaQINqz0JbO0qyXIke ih+0c5IjSgbEX5Pmq1e2HF+dHZK/QXgmvNeE9hW0T6ly29H/fddJj28O8qhWVAa2xy4wpSce 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_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:326379 Archived-At: 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 =2D- HaraldKi@nrw.social