This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (6)
- # bangalore-clj (1)
- # beginners (169)
- # boot (8)
- # calva (20)
- # cider (32)
- # clj-kondo (78)
- # cljdoc (42)
- # cljs-dev (4)
- # clojure (126)
- # clojure-china (35)
- # clojure-dev (5)
- # clojure-europe (3)
- # clojure-italy (40)
- # clojure-nl (15)
- # clojure-portugal (1)
- # clojure-spec (4)
- # clojure-uk (67)
- # clojurescript (89)
- # community-development (2)
- # core-async (34)
- # cursive (46)
- # datomic (14)
- # dirac (1)
- # duct (8)
- # emacs (11)
- # events (5)
- # fulcro (21)
- # jackdaw (14)
- # jobs-discuss (6)
- # off-topic (37)
- # pedestal (24)
- # perun (1)
- # quil (3)
- # reagent (27)
- # reitit (1)
- # remote-jobs (1)
- # shadow-cljs (47)
- # sql (1)
- # vim (9)
- # yada (1)
having upgraded from 2018.3 to 2019.2 then downgraded to 2019.1, I notice that matched-bracket highlighting is semi-broken: it now highlights the correct
) for a
(, but if your cursor is to the right of a
)| and there's an outer paren immediately after,
)|), then it highlights the outer paren's
( not the inner one you're on
2018.3 is still the most stable IntelliJ version to use with Cursive - both the 2019.x releases have serious platform bugs affecting it.
Does there happen to be a blog or newsletter of some sort where I can see things like "this is the best version of intellij to use" without having to bother you in the channel @U0567Q30W?
@U3BALC2HH I’ve written about it a bit on the mailing list, although I haven’t sent a summary email of the state of the problems - I should do that.
The "Resolve foo as..." feature seems to be broken for me. Is that a known issue (possibly related to other symbol resolution issues on 2019.x)?
@U4ZDX466T The first thing to check there is that the intention is enabled: Preferences | Editor | Intentions | Clojure
That was it, thanks! I guess I must've accidentally disabled the intention at some point. :thinking_face:
maven central and .m2 are missing from this list. How to bring them back? (dependency autocomplete on
project.clj isn't working)
Updated, still don't see maven central and .m2. Curious, how do you see it could be related, leiningen and clj?
It's actually me was confused. You are right, this could be a problem related to clj as well
I don't think you should expect to see .m2 there - that's the local cache, not a "repo" (unless that's something cursive integrates together)
I don't know enough about the middle bits to suggest anything on central
I think .m2 did appear there previously as an option you could update the indexes for, but it doesn’t seem to now - that may have changed in recent IntelliJ versions.
Ok, so, getting a little more into this clojure project, and he's using the clojure.test framework for the actual running of the program (it is a testing tool, so it isn't as weird as it sounds). Does Cursive support running deftest functions outside of the leiningen generated test folder?
(if I get any terms or expressions wrong, let me know, I'm still pretty new to Clojure too. Cursive is helping make the transition much easier)
If you run tests in the REPL, they’ll be run in the ns they come from in the source, not the current REPL ns.
The ns evaluation happens in is controlled by a flag, see: https://cursive-ide.com/userguide/troubleshooting.html#unresolved-symbols-from-clojure-core-when-sending-forms-to-repl
So, I tried running
(require my.nested.file.ns) in the repl so that I could do my function calls and got this:
UnsupportedOperationException nth not supported on this type: Class clojure.lang.RT.nthFrom (RT.java:947)
I'm trying to run the unit test in my src folder and there is no option to run the test where the cursor is.
When I tried to run all tests in the NS I got ArityExceptions @U0567Q30W. Am I doing something wrong or is this a bug/missing feature?
nvm. The original author wrote this testing framework to use the same macro names as clojure.test but they are actually part of the utils of this project. Sorry to have wasted your time.
Is there a way to change the syntax highlighting for macros so that I (as a learner) can more easily differentiate them from functions?
Hey guys, I'm suddenly getting
cursive Error running 'REPL': '11' is bad configured when I try to run my REPL debugger. Not sure what's wrong? I tried deleting and comparing against another one in a different project that's working and I have no idea what's wrong.
Sorry, this is a terrible message that comes back from IntelliJ. It’s referring to your SDK (i.e. the JDK you’re using).