Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Go to Declaration for all dependencies #170

Open
sw1sh opened this issue Aug 23, 2016 · 2 comments
Open

Go to Declaration for all dependencies #170

sw1sh opened this issue Aug 23, 2016 · 2 comments

Comments

@sw1sh
Copy link

sw1sh commented Aug 23, 2016

Is there a possibility of jumping to the source code of your project dependencies through 'Go to Declaration' command? It seems like a killer feature to me, is it not supported yet or my setup somehow broken and there is a bug? Using nightly stack resolver.

@lierdakil
Copy link
Contributor

There's a technical challenge in jumping to dependencies, due to the simple fact that GHC discards much of source information on compilation and dependencies are almost always compiled. At the moment, I have no idea on how to overcome that in general. Haddock might be an option, and there's some work on ghc-mod that should facilitate that. But for now, this is impossible, unless you're willing to have all dependencies open as Atom subprojects. Then hasktags should work with that, for the most part.

@canonic-epicure
Copy link

Other haskell plugins (like IntelliJ plugin) do this with "stack unpack"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants