cursive
cursive copied to clipboard
Support string require on clojurescript
Recently CLJS added support for string requirements, eg:
(ns awesome.app
(:require ["react" :as react]))
(react/createElement "div" nil)
Currently Cursive doesn't recognize it at all. Not sure how feasible, but if Cursive could use IntelliJ Javascript index to look that up on node_modules
, then it could have auto-complete, follow references, etc. That would be a great addition to the CLJS workflow in Cursive!
I believe this is related to this issue: https://github.com/cursive-ide/cursive/issues/2333 Definititely a must have feature.
Might be a duplicate of https://github.com/cursive-ide/cursive/issues/1775.