-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursive & Specter not playing nicely #1973
Comments
I have the same issue and in addition to unresolved symbols, anywhere I use specter's |
I am still having the same issue with |
I'm running into this as well. Perhaps #2767 would resolve many of the issues? ("Resolve … as…" + "specify" works great for |
Mitigated this problem by "resolving as..." on the following: com.rpl.specter/defcollector clojure.core/defn
com.rpl.specter/defdynamicnav clojure.core/defn
com.rpl.specter/defmacroalias clojure.core/def
com.rpl.specter/defnav clojure.core/defn
com.rpl.specter/defrichnav clojure.core/defn |
This solved the problem for me. I guess I should have spent more time digging into the library… Thanks! |
This is fixed as #2767. |
Fix released in 1.13.1-eap9 on 2023-11-27. |
@cursive-ide should this now be working out of the box? Or do you need to manually set "resolve as"? I'm on IntelliJ IDEA 2023.2.5 / Windows and just upgraded to EAP9, but it still doesn't resolve. |
@AndyCorlin You should have received a popup suggesting that you generate stubs - did you do that? |
Fix released in 1.13.1 on 2023-12-07. |
Aha - I have seen that message over the years, but no idea what for and where it came from. Now that I tried it I get:
Windows has a limitation of path names of 256 characters .There is registry setting where you can enable "long path names", which I have set, but the application must also be compiled with a manifest that it supports it. For the normal REPL I have a similar problem, but that can be fixed by using "Shorten command line" = "JAR manifest". @cursive-ide, does this give you any clues of how to fix it? |
@AndyCorlin try perusing #2021 |
Thanks @mortenschioler! I had to go through all modules and set it one by one, but then it worked. |
Using
[com.rpl/specter "1.0.2"]
in an IntelliJ 2018.1 with Cursive 1.7.0-eap1-2018.1 on macOS 10.12 with Clojure 1.8.0 and Lein 2.7.1:Cursive and Specter seem to have some issues. It can't resolve some of the referred things. Here is a minimal
.clj
source file with a few examples:In my IDE,
ALL
andcollect-one
are highlighted as "cannot resolve."I'm going to imagine that it's related to how Specter makes its own macros for defining things, such as: (from
com.rpl.specter
namespace)Mind you, Cursive also cannot resolve
defnav
when looking at Specter source code.Looks like it's a situation where Cursive needs more semantic insight into things that aren't simple
(def ...)
forms?The text was updated successfully, but these errors were encountered: