Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See type hierarchy, finding base/derived methods/classes #18

Closed
clearmisp opened this issue Feb 20, 2018 · 3 comments
Closed

See type hierarchy, finding base/derived methods/classes #18

clearmisp opened this issue Feb 20, 2018 · 3 comments

Comments

@clearmisp
Copy link

The cquery server is able to return info on a types hierarchy (parent type, derived types, expandable tree view), finding base/derived methods/classes and presenting a call tree.

I searched through available Emacs commands and found the function cquery-call-tree which seem to return a call tree for a symbol at point, this works. But I fail to find a way to see a type hierarchy for symbol at point, or finding derived methods etc. Are these not implemented? What is the best way discussing topics like this for emacs lsp using cquery? It doesn't feel right to submit an issue here just to query for basic functionality when there's not an actual bug involved.

@jacobdufault
Copy link
Member

@MaskRay

Feel free to hangout in https://gitter.im/cquery-project/Lobby

@MaskRay
Copy link
Member

MaskRay commented Feb 20, 2018

Yes, emacs-cquery has not implemented this feature.

emacs-lsp/lsp-ui#73

@MaskRay
Copy link
Member

MaskRay commented Mar 3, 2018

These hierarchies are now implemented in emacs-cquery.

You may find my config useful https://github.com/MaskRay/Config/blob/master/home/.emacs.d/private/%2Bmy/my-code/packages.el#L243

But a long-term solution is to make the tree view upstreamed to lsp-ui emacs-lsp/lsp-ui#73

@MaskRay MaskRay closed this as completed Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants