Skip to content

Allow module name completion in import statements #443

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

Merged
merged 2 commits into from
Jan 22, 2015

Conversation

ikirill
Copy link
Contributor

@ikirill ikirill commented Jan 21, 2015

I noticed that haskell-mode wasn't doing this, because ghci needs to be passed the "import " string to make it complete the module name after.

I also changed the behaviour so that it would not forcefully start a new process if there isn't one already running. I think this is standard behaviour in other modes, and it can be intrusive because it is the first thing that happens when I open a new file and it asks several questions about the new session before I can do anything else.

It is somewhat intrusive, because it happens the moment you open a new
file without a session attached.
@chrisdone
Copy link
Member

Nice!

@chrisdone chrisdone merged commit 0acebe2 into haskell:master Jan 22, 2015
@ikirill ikirill deleted the pr-import-completions branch January 22, 2015 02:16
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

Successfully merging this pull request may close these issues.

2 participants