Fork me on GitHub
#cursive
<
2021-01-22
>
GGfpc12:01:17

Hello! Cursive is telling me that defn cannot be resolved in a cljc and cljs project, but only in the cljs files. Here is my deps.edn

{:paths          ["src"]
 :deps {
        clj-http/clj-http {:mvn/version "3.11.0"}
        org.clojure/data.json {:mvn/version "1.0.0"}
        reagent/reagent {:mvn/version "1.0.0"}}}
and my shadow-cljs.edn
{:deps         true
 :dev-http     {8081 "public"}
 :source-paths ["src"]
 :builds       {:app {:target     :browser
                      :output-dir "public/js"
                      :asset-path "/js"
                      :modules    {:main {:init-fn [mate-heatmap.index.render]}}}}}
Not sure what's causing this, I tried deleting the .idea folder and reimporting already

aratare12:01:43

seems like you don't have clojurescript itself in deps.edn?

GGfpc13:01:26

wow I'm dumb haha

GGfpc13:01:31

thanks, that fixed it

👍 3
thheller13:01:08

you are missing shadow-cljs too

thheller13:01:17

which would bring in cljs

Kari Marttila17:01:22

I guess you guys in this channel might be interested in reading https://www.metosin.fi/blog/metosin-favorite-editors/

cfleming19:01:38

Thanks, very interesting indeed!

Kari Marttila17:01:20

I counted some statistics: Which editors Metosinians like to use (one or more): • Cursive: 11 • Emacs: 5 • Vim: 2 • Eclipse: 1 • VSCode: 3

🥳 10
Kari Marttila17:01:50

Paredit or parinfer? • paredit: 13 • parinfer: 1 • something else: 1