This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-02
Channels
cider nrepl + clojurescript completions: Not sure if I miss something here an example:
(ns
app.main
(:require
["node:child_process" :as p]))
p/|
no completions for cursor at |
and I also don't see any javascript specific stuff in cider.nrepl or compliment.
#nbb’s nrepl server actually has a piece that calls js/Object.getOwnPropertyNames
of the object recursivelyso the question is if I am missing the javascript specific part, or if that is a growth area for cider middleware to add such completions
there should be: https://github.com/clojure-emacs/clj-suitable but it doesn't seem to work on my setup either, I will try to look into it this week. I'll have to do a bunch of js interop soon
CIDER will always use the static code completion provided by suitable, regardless of the ClojureScript runtime, but the dynamic completion is not currently available with shadow-cljs. (See this ticket for more details)
yeah me too, but the related issue seem fixed https://github.com/clojure-emacs/clj-suitable/pull/18