This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (2)
- # babashka (2)
- # beginners (112)
- # calva (29)
- # cider (33)
- # clj-kondo (41)
- # cljdoc (10)
- # cljs-dev (2)
- # clojure (72)
- # clojure-berlin (3)
- # clojure-europe (10)
- # clojure-italy (6)
- # clojure-nl (15)
- # clojure-spec (5)
- # clojure-uk (40)
- # clojurescript (1)
- # clr (6)
- # community-development (6)
- # core-async (21)
- # cursive (42)
- # datascript (12)
- # duct (6)
- # flambo (1)
- # fulcro (50)
- # jobs (1)
- # leiningen (3)
- # off-topic (16)
- # re-frame (6)
- # reagent (23)
- # reitit (7)
- # ring-swagger (14)
- # shadow-cljs (35)
- # tools-deps (39)
- # vim (12)
@jeroen.dejong Yes, I’ve seen that one from time to time, I think it’s to do with the REPL but I’ve not tracked it down yet.
I could only find an old test that's disabled since 1.5.3 https://github.com/clojure/clojure/commit/fba9b9ac90341e6fc86c59ceaf39f3dd0e224320 and a test in la-clojure https://github.com/JetBrains/la-clojure/blob/e00046ffc1b385429eec57c5f426304517f7bfb1/test/org/jetbrains/plugins/clojure/completion/ClojureBasicCompletionTest.java if the clojure test were enabled, it would be possible to trigger it by running all the tests, but...
No, it looks like that file name is used when an AST is created from text, which shouldn’t have parinfer run on it. I’ll see if I can detect that case and fix it.
@U0567Q30W completely off-topic but, re-frame keyword resolution hasn't been working properly lately, is this because of platform bugs as usual?
well, cmd-click used to do the same, and that's the behavior with variables, but it stopped working for namespaced kws
Yeah, that will be since I made this change: https://groups.google.com/d/topic/cursive/LHMQYE8wH7o/discussion
> A while ago, I made a change to allow keywords to be associated with definitions. Previously keywords had no definition, but simply came into existence on first use. But several frameworks define entities using keyword identifiers - spec and re-frame both do this. So I added the concept of keyword definitions, but the implementation wasn’t entirely successful. Cursive would then treat keywords used in these contexts more like vars, but it wasn’t obvious when that change happened and it was very confusing. It also led to things like Find Usages and Rename behaving differently when keywords were used in the two contexts (as a definition, and as a standard keyword in e.g. destructuring). In this release I’ve modified how this works - keywords now work as they did previously, but you can still navigate to the definitions if they exist and they still show up in the structure view as you would expect.
Can you file an issue for the differences you’re seeing now and I’ll see if I can fix them?
I have a feeling that it always goes to the declaration, because it moves the cursor to the beginning of the declaration, instead of going to the usages...
I think it sounds like the problem is that Ctrl-B used to show that, but now doesn’t, is that right?
I have updated the issue, since the problem is much simpler than what I thought https://github.com/cursive-ide/cursive/issues/2233
I also used to rely on this a lot. I could've sworn there was already an issue for it but I can't find it.
It’s definitely a virtual file of some kind, i.e. not one you’d have in your project.
One of the modules in my project has stopped resolving a namespace from a
:local/root dep. I'm 100% sure it's actually on the classpath because I can load the namespace without error when using "Run with Deps" REPL option. If I use "Run with IntelliJ project classpath", the namespace is not on the classpath.
I’m trying to connect to an nREPL (shadow-cljs) in Cursive as a remote repl. I am using
localhost and the nRepl port specified but get the following error. I thought with a remote repl you would just need a host/port. What am I missing?
Is there a Module selected in the Run Configuration? It's near the bottom under Common options
there wasn’t - none was available at the time. I’ve since re-created the project which includes a deps.edn and that got the project to show up in the available dropdown