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 and type hierarchy with Eglot Date: Wed, 11 Dec 2024 21:20:10 +0100 Message-ID: References: <21926049-9a29-4d60-801f-c8ffa03516f9@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="25888"; 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 21:21:12 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 1tLTCp-0006TZ-8D for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Dec 2024 21:21:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLTC5-0001Oo-Fx; Wed, 11 Dec 2024 15:20:25 -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 1tLTBz-0001OX-Cf for emacs-devel@gnu.org; Wed, 11 Dec 2024 15:20:19 -0500 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLTBx-0004aw-8L for emacs-devel@gnu.org; Wed, 11 Dec 2024 15:20:18 -0500 Original-Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-435004228c0so33435425e9.0 for ; Wed, 11 Dec 2024 12:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733948413; x=1734553213; 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=0TWcKIdBCK8R2vD6GMG+2LEZXIIZx4hnQfOS6OPB0eU=; b=Qjc+I8O/KYf+CEuySNpxxgVZFQl94nEfpyQqFTgHv1VKsr+b0oOR4X1T5JV7xIPww1 rLST36Noi63J83JCCbballWyZM3aNu1t4MqLOtSUpyi1FhHlrWU/p5QtaJY/DihbTAGW RjwoLGkBiP48MWtEeP0OlYWL6AwtirrOxwLHCYFDIaxLL9SbLr/queubPo+umd+xliXZ JnlVGFQouEJCgG8xOwwKT8MTlR7/skYZjgQDaNpkdUYzd0MNw1f221SETQevyKJPOyIt AkdTNw643HQ50X3AUB+6jBKR1cSGI7fQikv2zAXe6iwGZ8xK8SYG9mjg2JUCR5vPb9kD /sfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733948413; x=1734553213; 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=0TWcKIdBCK8R2vD6GMG+2LEZXIIZx4hnQfOS6OPB0eU=; b=rnLvQx862IrT87NXNVMXGDEtJBj121qtf/H7rdzRKOmIGPf4EgVxQmohrdfH6wAATb FP5mN72hDS7ikisMwESHlqI30lvdXjam3rIYJcwM4Slr4d88JEzxB6dkuJDnZJ0DZu2v 2HoOR5RBgZEf6fYoFnLZgkHJxNKEP5dOrN7kNpPd1ASQ9HpNpiXYNbBr3qcccY7xfXFS lPjRKUS6Gh/fpCbvcdJZSgGj7Zzv3VkCO9a7MgZ+uE85OhI73slCnC0G/INcezmMH2t7 u97WnCsq16D5Y8Ohz7rYz1fHfQS59/uD2MHxSoF7bh6FufEuKtrf6/9Ihovd987EppGj B1Qw== X-Gm-Message-State: AOJu0YyCA1zmSv4taS5xDz8WVJYnDTmymmRj2lAUuYfAc7MLWIbWBgJO pCSmhc0wW0DptNlvxdkJBNPRZaScU6usqrWNQ0kHoENaKpc+8Efc/ofCEA== X-Gm-Gg: ASbGncsn+eUAKR5H1FFQZk3giR5FKtzkQSjzMzNh4+6GcZfxP7G32+Dv5ZiJCC05rFs DnZrki4hbCfiwSX6T2M44StRPyUhYh8/Ol5xXQKq8mz0hD6PbLMgo6fI4wvlRr7Mjx4m9yVKbTe XBFq9JY0LxkdgoiBQR/SDc0P0J2HO1quqQ+bEI8IA4jlPjGqM4oAKzBHg7rvfc+twHvvi4EX2Ab AuagPnW4R4S7/+csOzZCEpxk4sp/7dqmEvZN13ypineQA8zcLfKkPBxVhy8xBF5MAAVLjzvLXiZ sFqvYbw7Bh7PgmfIOJoQScDJsytL/bt0hmVL/jrQ2MtEMn++xzWVYXPCbSrs6Fg= X-Google-Smtp-Source: AGHT+IFzHuS4R6eeY3diDJxvtVVgeIC3F/nni2Dov30KVRIJ3vgCh02cCXSzyqMlT2h6ast2ebKMNA== X-Received: by 2002:a05:600c:4f13:b0:434:ff45:cbbe with SMTP id 5b1f17b1804b1-4361c3c7df9mr39827025e9.18.1733948413210; Wed, 11 Dec 2024 12:20:13 -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 5b1f17b1804b1-435ff2f46d3sm56603385e9.19.2024.12.11.12.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 12:20:12 -0800 (PST) In-Reply-To: <21926049-9a29-4d60-801f-c8ffa03516f9@gmx.de> (Harald Kirsch's message of "Wed, 11 Dec 2024 20:45:53 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32d.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:326381 Archived-At: Harald Kirsch 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 =E2=80=98:callHierarchy/outgoingCalls=E2=80=99, see *Mess= age* for details