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

Ctrl + click for go to declaration?

Open doivosevic opened this issue 8 years ago • 1 comments

Hi! Could we imitate the feature from ctags ?

It seems ctrl+click is not allowed because atom uses it so alt will have to do link Edit: I'm not sure which of the combinations of something+click is available but I would like one of them :)

doivosevic avatar Feb 07 '17 19:02 doivosevic

Should be doable in principle, but rather awkward in practice. Just copying https://github.com/yongkangchen/atom-ctags/commit/970ca17630e1dd4eee04f82ab98baf5e08562c17 won't work as expected, since event would be bound to text cursor position, and converting mouse cursor position to text cursor is rather involved. I will try to keep this in mind, but right now I don't have enough spare time to hack on this.PRs are welcome, but I would prefer those also took https://github.com/atom-haskell/haskell-ghc-mod/issues/196 into consideration.

lierdakil avatar Feb 14 '17 09:02 lierdakil