Skip to content
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

Complete all available classnames when on JVM #14

Closed
alexander-yakushev opened this issue Aug 5, 2014 · 16 comments
Closed

Complete all available classnames when on JVM #14

alexander-yakushev opened this issue Aug 5, 2014 · 16 comments

Comments

@alexander-yakushev
Copy link
Owner

This requires parsing the jars and classfolders on the classpath. It is exclusive to JVM as Dalvik doesn't have classes freely lying around.

Moved from trptcolin/reply#153.

@bbatsov
Copy link
Collaborator

bbatsov commented Sep 24, 2014

Another related ticket clojure-emacs/ac-cider#20

@alexander-yakushev
Copy link
Owner Author

So... Finally! 0.2.0-SNAPSHOT to test. Please mind that fuzziness doesn't work for non-imported classes, they are matched as-is using startsWith.

@sutram
Copy link

sutram commented Oct 6, 2014

Thank you! It doesn't seem to be working for me however. I am sure I am doing something wrong. I went to MELPA and updated CIDER to cider-20141006.507 and ac-cider to ac-cider-20141006.557. I am still unable to get completions for things like java.net etc.

How do I make sure I have 0.2.0-SNAPSHOT? Thanks.

@bbatsov
Copy link
Collaborator

bbatsov commented Oct 6, 2014

CIDER isn't using this version yet. I'll update it soon.

@sutram
Copy link

sutram commented Oct 6, 2014

Wow that was fast. Ok, cool.

@alexander-yakushev
Copy link
Owner Author

@sutram You can put [compliment 0.2.0-SNAPSHOT] to your project dependencies, or into your profiles.clj dependencies.

@sutram
Copy link

sutram commented Oct 6, 2014

Ok, I'll try that. I assume that I can remove it once CIDER gets updated?

@bbatsov
Copy link
Collaborator

bbatsov commented Oct 6, 2014

cider-nrepl just got updated. Fetch the latest snapshot and try the completion again.

@sutram
Copy link

sutram commented Oct 6, 2014

@bbatsov I assume I need to wait for it to appear on clojars if I don't want to build it myself?
Thanks

@sutram
Copy link

sutram commented Oct 6, 2014

@alexander-yakushev Adding compliment manually to profiles.clj works! Thanks

@alexander-yakushev
Copy link
Owner Author

@sutram Great!

What Bozhidar meant is that you can delete ~/.m2/repository/cider/cider-nrepl/0.8.0-SNAPSHOT which will force redownloading of cider-nrepl. Maybe there is some other way, but I use this one.

@sutram
Copy link

sutram commented Oct 6, 2014

Ah ok - I'll give that a try

@alexander-yakushev
Copy link
Owner Author

And yes, you can remove compliment dependency when cider-nrepl catches up with the latest version — which it now did.

@sutram
Copy link

sutram commented Oct 6, 2014

I verified that the latest cider-nrepl works. Excellent!

@alexander-yakushev
Copy link
Owner Author

OK, let's pretend this is enough evidence to confirm that the issue is fixed:smile:.

@sutram
Copy link

sutram commented Oct 6, 2014

@alexander-yakushev Sure, it works for me. :) 👍

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

No branches or pull requests

3 participants