GNU bug report logs -
#76142
[PATCH] Eglot: do not activate unsupported menu items
Previous Next
Full log
Message #19 received at 76142-done <at> debbugs.gnu.org (full text, mbox):
> I also don't know what other LSP extensions do with this graph. If you have
> more ideas to make it more interactive, pretty, etc, feel free to let me know
> or push patches.
It seems the current implementation ignores the tags, the detail, and
the data fields of a CallHierarchyItem. The detail is probably useful
to show. I don't like the language of the LSP specification, but the
way I understand it, the client MUST return the data field to the
server.
Another approach to handle hierarchies is not to show the hierarchy
itself, but to provide xref-like commands based on it:
eglot-find-incoming-calls, eglot-find-outgoing-calls. Eglot-x has a
command named eglot-x-find-refs that dispatches additional
reference-finding commands based on eglot-x--extra-refs-alist. The
alist is defined here:
https://github.com/nemethf/eglot-x/blob/82c315c052e5a08c5307df4a4624049ee0e219e8/eglot-x.el#L564
Since Eglot currently has five xref commands, maybe it is a good idea to
provide a single-key dispatcher similar to eglot-x-find-refs in Eglot
itself.
> I think you should have commit rights to push to Eglot directly.
Thanks. I asked for commit rights at the savannah site.
This bug report was last modified 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.