This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-28
Channels
- # admin-announcements (59)
- # aws (27)
- # beginners (42)
- # boot (22)
- # cider (5)
- # clojure (97)
- # clojure-australia (3)
- # clojure-italy (2)
- # clojure-japan (9)
- # clojure-russia (81)
- # clojure-sg (2)
- # clojurescript (86)
- # clojutre (1)
- # cloxp (2)
- # cursive (60)
- # datomic (24)
- # docs (1)
- # editors (1)
- # emacs (17)
- # hoplon (57)
- # instaparse (1)
- # jobs (11)
- # ldnclj (19)
- # re-frame (1)
- # reagent (3)
- # spacemacs (7)
- # testing (8)
- # yada (127)
@cfleming: out of curiosity: eval top form understands that comment
forms must be ignored. It's a edge case done by Cursive? Feels so natural!
My module settings about which dir is a source/test/resource dir is reset every time I start Cursive
No, I’m afraid not. The IntelliJ Maven plugin works the same way. The idea is that a module built from an external model should be totally defined in that model.
But I'll just specify them all and then overwrite them somehow. Though now my fighwheel startup script has all the clojure source files in its classpath
Can’t you add the :source-paths to your profiles too? Which classpath is wrong - the one generated by Cursive?
I guess it's not a big deal since I have to require-macros
any .clj
files in clojurescript anyways
Though, editing the project structure and editing it does rewrite the .iml
file and it then gets reset after restarting cursive. I'm not sure if you're in charge of that dialog or if it's IntelliJ but I'd suggest a big warning that editing them will not persist
Good idea, I’ll see if I can implement that - the Maven plugin may have something I can steal. It’s tricky since that file can be modified in many ways but I can probably generically listen to changes to it.
Also, I notice dev-resource
and resources
directory is in the "source" category instead of the "resource" category
Now I have another problem: Cursive can't resolve anything out of clojure.core
like ns
or defn
. Though sending it to the repl works fine, how did I mess that up?
I can’t think of anything that Cursive would do to prevent that - it just calls out to lein for that functionality
Yeah, the libs are rewritten to - again, the idea is that they should be configured in project.clj.
BTW, WRT the resources thing, I can’t remember what the issue was there, but they have to be source folders in IntelliJ, because its semantics for resource folders are different to lein’s, and weirdness ensued.
Ok. Send it to me at <mailto:[email protected]|[email protected]> and I’ll take a look at it and see if I can reproduce the problems you’re seeing.
Looks like having ANY :exclusions
causes this for me. Making it []
and it's clojure is in there
Checkouts were designed to be symlinked IIRC, but I have no idea if copying it there breaks things.