Skip to content

xref-find-definition for project dependencies #23

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

Closed
wpcarro opened this issue Aug 29, 2018 · 3 comments
Closed

xref-find-definition for project dependencies #23

wpcarro opened this issue Aug 29, 2018 · 3 comments

Comments

@wpcarro
Copy link
Contributor

wpcarro commented Aug 29, 2018

Loving lsp-haskell so far. Is it possible to have xref-find-definition for Base and a project's dependencies?

@wraithm
Copy link

wraithm commented Feb 24, 2020

Yes, I'm having issues with xref-find-definition in a multi-package project. It won't jump to a definition across package boundaries.

It would be great if xref-find-definition fell back to using tags if nothing is found in the current project.

@michaelpj
Copy link
Collaborator

For the LSP case, this is a haskell-language-server issue, which I think is already tracked (for example haskell/haskell-language-server#44).

Re: falling back to tags, I think we shouldn't do more here since we're really just a client for lsp-mode. But we also recommend that people enable haskell-mode, which might add jump handlers that user tags?

@michaelpj
Copy link
Collaborator

Re: using tags, it seems that it's not currently possible to augment the lsp-mode xref backend with another one (https://gitter.im/emacs-lsp/lsp-mode?at=5f6c9a025efe9467b1127f85). So this is probably not something we can fix easily, unfortunately.

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