haskell-ghc-mod icon indicating copy to clipboard operation
haskell-ghc-mod copied to clipboard

Go to Declaration for all dependencies

Open sw1sh opened this issue 8 years ago • 2 comments

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.

sw1sh avatar Aug 23 '16 00:08 sw1sh

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.

lierdakil avatar Aug 23 '16 12:08 lierdakil

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

canonic-epicure avatar Aug 14 '17 18:08 canonic-epicure