Closed samaaron closed 11 years ago
Fair point.
The main reason I added it is that ac-nrepl overrides the default nrepl "connected" message with the "caching jvm classes" message. It seems nicer to have the nice nrepl message when everything's completed.
Ah, I see. I'd worry that it's wallpapering over the problem.
You know, I think we could do that classname caching asynchronously instead, and then we could skip the message altogether. The classname cache would just be unavailable until the asynchronous request completed.
That sounds like a plan. I wouldn't know how to implement that though...
And you're right - it is wallpapering over the problem! :-)
Alright, I think I've done it. Can you try the code in the cache-classes-asynchronously
branch?
(The "Cached" message can probably be removed when we're sure it all works...)
I've merged and released my fix. Let me know if you have any problems with it. :-)
Does it make sense for the autocompletion plugin to print out a "Connected" message? Won't the user see such a message in the
nrepl
REPL buffer anyway?