Open shaqtsui opened 6 years ago
This is something that has been done in lumo
and can be easily ported over: https://github.com/anmonteiro/lumo/blob/master/src/cljs/snapshot/lumo/repl.cljs#L1297-L1320
Not easily :smile: it looks like the implementation is Clojure for vanilla JVM so the above code would only work for self-hosted REPLs
For the JVM side we can implement this once CLJS-1047 is done. Feel free to vote on that ticket if you're registered on JIRA.
I'm not sure what makes most sense for the self-host case but what Lumo does with completion-candidates-for-node-modules
and completion-candidates-for-closure-js
looks sane. Maybe we should port that over.
FYI this has been implemented here https://github.com/rksm/clj-suitable but uses dynamic runtime inspection and not static code analysis.
When type: (js/THR
Expected complete list: (js/THREE ...
I think a enhancement required here