-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Provide or explain how to get completion in Clojure socket REPLs #111
Comments
That's because REPLy uses the old completion library internally and it's always available to users of boot and leiningen (which use REPLy). The only real fix for this is to finish somehow trptcolin/reply#153 |
I see, I opened this because I had some exception and I basically realized that according to your message I don't have any completion in |
When you can easily add a check for the presence of compliment and use different completion commands for it. That'd be simple approach to solve this problem. |
Compliment sends back edn. So I am thinking we could have a var containing a function which is called with whatever the completion command returns. This function would be user provided (with a default), to that the passing of the compliment's edn can be done (potentially using |
Or a different module |
Yeah, that sounds like a good approach to me. edn.el (https://github.com/expez/edn.el) can also be used (at least temporary, until |
I am working on a solution for this, it will require |
Given compliment on the classpath, the inf-clojure-compliment can be required in order to customize the right defcustoms that are necessary for it. Completions are only annotated and in order to customize this process an inf-clojure hacker can use inf-clojure-completions-annotation-fn.
Given compliment on the classpath, the inf-clojure-compliment can be required in order to customize the right defcustoms that are necessary for it. Completions are only annotated and in order to customize this process an inf-clojure hacker can use inf-clojure-completions-annotation-fn.
Given compliment on the classpath, the inf-clojure-compliment can be required in order to customize the right defcustoms that are necessary for it. Completions are only annotated and in order to customize this process an inf-clojure hacker can use inf-clojure-completions-annotation-fn.
autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it |
It looks like what
inf-clojure
currently uses for completions has been abandoned (aka feature complete?).Cider uses the wonderful https://github.com/alexander-yakushev/compliment and we probably should as well. It gives you more completion power as well because it accepts a context in input, which it then uses to complete locals, for instance.
It also returns more metadata together with the actual completion and we could feed that to
company-mode
.The text was updated successfully, but these errors were encountered: