From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: eglot-cthier.el --- show call hierarchy with Eglot (formally called eglot-hierarchy) Date: Wed, 11 Dec 2024 12:01:55 +0100 Message-ID: References: <43440606-4506-41c2-a608-18a910376d8e@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2768"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Harald Kirsch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 11 12:02:26 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 1tLKU5-0000Vh-5l for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 12:02:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLKTi-0006fY-KT; Wed, 11 Dec 2024 06:02:02 -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 1tLKTh-0006fE-Pr for emacs-devel@gnu.org; Wed, 11 Dec 2024 06:02:01 -0500 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLKTf-0004YN-Hs for emacs-devel@gnu.org; Wed, 11 Dec 2024 06:02:00 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-436202dd7f6so2789925e9.0 for ; Wed, 11 Dec 2024 03:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733914917; x=1734519717; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=W+UE0JmL3BwGQ/ulu6M6UmRl3KlJAG+tQunh9W6mHEQ=; b=NKTEHfngC5luMxG3sfWmIPJ2BdTjTx5+K8bqOSam/VTNT3x2d/eECjgw3Kfk1HTTUw E2lmr822AXLytD+2Z5NdHlww4tpKed2r2jkg0lKDuyB13RPE3RrGWrJcKhew+QjFTqAV GAWGELhi4TRWfmnh4mtdBlnPd4r1TBvUEoyn32MZ6f/OTGepdSzAZueMFjUZ/TY5mI8+ o5rBrTdWmkgkR0DaEq9VKNDlZhzq/uNpHlFnl3HluqFa0tWVuTjfhKurdXKngiLjJ1c9 8p8cRyLJc1Tp50b8TcV72bbmOEoKVM1niXIqg0vevdpaDGBS+HDSwu8KymWKwbPAEB57 F0+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733914917; x=1734519717; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=W+UE0JmL3BwGQ/ulu6M6UmRl3KlJAG+tQunh9W6mHEQ=; b=Ujcm84ZoONvIb9cGJ/nY14QgwAQtqfUjyU43TvFfQp1TXdWAC7GK6m1AoRPsHsvj47 QCDHNiuLo0FpFSZbOPRDpNpNoVgkP1CucEprLEfhGoj/Kv280ym1ASRA79uo5Qwrk73B N7m1kAzqPBS5yr88j7JJp26cFE4UnMxSfwsCTZh7xExieclydzxyMIrn8Bc4R4Jk9+yv 8b9eCIdaqmXXbyPP4DEiscFQ3fYQRCRlYKdNmGF1IMDLuMoHkJgAbk7MsAqB4xUEjPxo 3GvsIwyzB72oVdsVbZsS80D8ZRSaJ70u9nD1Fp7VegIIEoHE7ljBqjY5jvTKMcSd1G0t J3rw== X-Gm-Message-State: AOJu0YwRMNWUuF2UwLK6fOMS5LcFAxJvP+8vvBp3X5IGhLmiPsXnTmji VlF4tpCJmqiZrRJY7xKjOLl/h2VA1PuCVLOHI2RQWSwWOGMW6avEdxiE3g== X-Gm-Gg: ASbGncstyy8dBBdPDLRJJThNcISdHM5TlbVBcsiJ7imhfknB0jeba6og7/coXniC0iz xVfoEOGOI4UbdgP6Ihp8oU/tHhE/JxkwokpzFnMYEReKaEfB1wdEBAuhxBg7mIdFoT1hULfc/5k QLYzTWH/5EOBZWm6LH8T3TtR8hhP/DbfA8iS+ajgNorMFBSb6RcJngFX6gkGbGpi/VDGY55jSZ8 PkbKaxR4v6GooHTG+fBethZfOuTsS2VlBxt8Bp5yQc5Vkg0lbo97fgtlaIPjrHLyWDTLWB5aFW6 kiPIOx4a5beoRKKhRxN6WwZo9hKtw+2+6o+sY95oYlw5Lr9/7bGkKhENJvLfTWk= X-Google-Smtp-Source: AGHT+IED1asdWJPSunlQhsSgJ84zfy0bj9NtBzf0wdCcETgCZ51m1WrPAltG51BbasdEhMRDCRANvQ== X-Received: by 2002:a05:600c:3b84:b0:434:a802:43d with SMTP id 5b1f17b1804b1-4361c43d3d2mr15577045e9.27.1733914917110; Wed, 11 Dec 2024 03:01:57 -0800 (PST) Original-Received: from pro2 (p200300e0b709ba00c5d5596d9959c8a7.dip0.t-ipconnect.de. [2003:e0:b709:ba00:c5d5:596d:9959:c8a7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38782514d35sm1035988f8f.74.2024.12.11.03.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 03:01:56 -0800 (PST) In-Reply-To: (Harald Kirsch's message of "Wed, 11 Dec 2024 11:07:20 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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:326344 Archived-At: Harald Kirsch writes: > 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. Thanks! Right, Magit does that also, on sections for example. Didn't think of that. > > 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 > Looking forward to this!