Skip to content

Enable jump to tag without activating a session #1180

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
mrkkrp opened this issue Feb 23, 2016 · 1 comment · Fixed by #1330
Closed

Enable jump to tag without activating a session #1180

mrkkrp opened this issue Feb 23, 2016 · 1 comment · Fixed by #1330

Comments

@mrkkrp
Copy link
Contributor

mrkkrp commented Feb 23, 2016

I only activate session when I need to use REPL. Why jumping to a tag cannot work without this? hasktags gererates TAGS file, just read it and jump? No?

@gracjan
Copy link
Contributor

gracjan commented Feb 23, 2016

Misarchitecture. Haskell mode checks if session exists so that it can use it to jump to definitions better. Checking if sessions exists has this side effect of starting a session. Somebody needs to fix this.

@gracjan gracjan changed the title Why can't I jump to tag without activating so-called session Enable jump to tag without activating a session Mar 5, 2016
bergey added a commit to bergey/haskell-mode that referenced this issue May 15, 2016
The function name & docs suggest this is the intended behavior.
`haskell-mode-find-def` errors if there is no session, so we need to
only call it if there is a session.

closes haskell#1180
bergey added a commit to bergey/haskell-mode that referenced this issue May 18, 2016
The function name & docs suggest this is the intended behavior.
`haskell-mode-find-def` errors if there is no session, so we need to
only call it if there is a session.

closes haskell#1180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants