doesn't :extra-paths [:clj-paths]
mean :extra-paths [["src/clj"]]
?
I have a prep task `
"yarn-install" ["shell" "yarn" "install"]
in the project.clj.. with
[lein-shell "0.5.0"]
but that isn’t run as in repl.. try to find packages.json from root.. (if I understand good) any idea how to fix it?The problem here is that the CWD of the IntelliJ process is not the same as when running lein from the command line. You’d probably need a way to help shell to find the yarn command since the path will probably be wrong, and also a way to specify to yarn which directory it should install in - I don’t know if that’s possible.
Ok, thank you!
I understand I can add in Cursive setup at “Before launch” NPM script (install). My question is, is that possible run the original project.clj w/ lein shell?
<http://java.io|java.io>.IOException: Cannot run program "yarn" (in directory "/"): error=2, No such file or directory
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at java.base/java.lang.Runtime.exec(Runtime.java:592)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
@cfleming could cursive get a tap> UI? I’ve been falling back on shadow-cljs inspect but some of my projects don’t require CLJS, even http so it feels a little extra
https://clojureverse.org/t/status-update-inspect-cljs-eval/6074
yeah its a data inspector
yes!
Any idea why a second double quote is not being automatically inserted when editing a CLJS file in parinfer mode?
I’ve never experienced this, and while I don’t do it a lot I do edit CLJS from time to time, always using parinfer.
I’m not sure what to try, I’ll have a look at the code tomorrow to see if there’s anything I can think of.
Parinfer shouldn't be doing anything, AFAIK. When quotes are unbalanced, parinfer will leave the file untouched until the user fixes quotes.
CLJ files in parinfer mode work.
Also a CLJS file in paredit or structural off works too
It’s just CLJS with parinfer causing issues
This is frustrating because as soon as brackets or quotes are mismatched in parinfer, there is heaps for lag in the editor. So if type one quote, I’m lagging until I close it. So I have to type to quotes and then move my cursor back one space to be inside the quotes.
There is no difference for me between CLJ and CLJS, both work and insert a second "
when I type only one
Maybe check the "Editor->General->Smart Keys" section in the intellij settings
You mean like a data inspector?