Skip to content

Allow module name completion in import statements - #443

Merged
chrisdone merged 2 commits into
haskell:masterfrom
ikirill:pr-import-completions
Jan 22, 2015
Merged

chrisdone merged 2 commits into
haskell:masterfrom
ikirill:pr-import-completions

Conversation

@ikirill

@ikirill ikirill commented Jan 21, 2015

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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