clj-suitable icon indicating copy to clipboard operation
clj-suitable copied to clipboard

Autocomplete #js forms

Open mauricioszabo opened this issue 6 years ago • 1 comments

~Currently, suitable can't auto-complete local vars like:~

(let [d js/document]
  (.. d (queryS....)))

Because it only sends (suitable.js-introspection/property-names-and-types d "queryS") to the REPL.

It also can't understand the following form:

(.. #js [1 2 3] -leng)

It sends something like (suitable.js-introspection/property-names-and-types clojure.lang.TaggedLiteral@291df69f "leng")

mauricioszabo avatar Jan 30 '20 13:01 mauricioszabo

For the record, locals were later added in https://github.com/clojure-emacs/cider-nrepl/pull/767

vemv avatar Nov 02 '23 21:11 vemv