I'm trying to run shadow-cljs + deps.edn project from intellij, how to setup run configuration properly?
currently starting it from console
{:dev {:main-opts ["-m" "shadow.cljs.devtools.cli" "watch" ":app"]}}
clj -M:dev
alright for now, clj -M:dev
is a shell script in run config
No documentation, nor code completion for JS function is that a normal thing? https://gyazo.com/4c6f436efb54fc811b69be0efcde59a6.png https://i.gyazo.com/c84645fe9cd28dc64dae0720a9aa0ebb.png
Off-topic: what is the theme?
material ui + custom editor theme
NIce.
do you need it?
yes, that is normal. support for JS completion is pending.
Thank you 🙂 I’ll look at material UI.
here material ui settings, and editor theme
Thanks!
There is some basic support, but yes, in general it’s not like for JVM Clojure.
(this is in the paid IntelliJ, don’t remember if that makes a difference, I think it has “more” web support)
Things like those don’t resolve properly (but compile OK).
also can't navigate to definition with ctrl+click
Yes. That would be part of the same process, I believe.