This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-05
Channels
- # 100-days-of-code (1)
- # announcements (7)
- # beginners (84)
- # boot (1)
- # cider (22)
- # cljdoc (14)
- # cljs-dev (45)
- # cljsrn (6)
- # clojure (65)
- # clojure-conj (7)
- # clojure-finland (1)
- # clojure-italy (7)
- # clojure-nl (2)
- # clojure-serbia (1)
- # clojure-uk (111)
- # clojurescript (58)
- # cursive (8)
- # datomic (68)
- # duct (1)
- # emacs (33)
- # figwheel (3)
- # figwheel-main (9)
- # fulcro (33)
- # graphql (1)
- # juxt (30)
- # kaocha (4)
- # off-topic (22)
- # pathom (47)
- # pedestal (4)
- # planck (6)
- # re-frame (1)
- # reagent (1)
- # reitit (13)
- # shadow-cljs (49)
- # spacemacs (7)
- # sql (6)
- # tools-deps (60)
Hello,
I struggle to get completions to work in Spacemacs.
I have a .cljs file with a working REPL (I can execute forms). I also have the documentation being displayed in the mini-buffer.
Though, I can't have the completion working. When I press Tab, there is the [No matches]
message.
When I execute (planck.repl/get-completions "map")
, I get the response back in the REPL. I even forced the value of inf-clojure-completion-form
to the planck one: (planck.repl/get-completions "%s")
but it still doesn't work.
Am I missing something?
@dam That function is not meant for external use. It is internally invoked like this:
(planck.repl/get-completions "(map")
to produce results like
#js ["map" "MapEntry" "map" "map-entry?" "map-indexed" "map?" "mapcat" "mapv"]
Having said that, we could add a public method for use in IDEs if we define its semantics. (Something like this was done for planck.repl/get-arglists
.)