This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-12
Channels
- # aatree (9)
- # admin-announcements (2)
- # alda (4)
- # announcements (2)
- # beginners (87)
- # boot (218)
- # braid-chat (14)
- # cbus (2)
- # cider (19)
- # cljs-dev (17)
- # cljsjs (1)
- # cljsrn (5)
- # clojure (84)
- # clojure-android (1)
- # clojure-czech (8)
- # clojure-ireland (3)
- # clojure-madison (20)
- # clojure-poland (22)
- # clojure-russia (54)
- # clojure-sanfrancisco (1)
- # clojurescript (81)
- # clojurewest (4)
- # community-development (94)
- # conf-proposals (5)
- # core-async (199)
- # css (3)
- # cursive (68)
- # datavis (2)
- # datomic (23)
- # dysphemism (138)
- # editors (7)
- # hoplon (8)
- # jobs (8)
- # jobs-discuss (7)
- # ldnclj (2)
- # liberator (6)
- # off-topic (32)
- # om (200)
- # omnext (2)
- # onyx (88)
- # proton (58)
- # re-frame (14)
- # reagent (1)
- # ring-swagger (26)
- # yada (14)
@jcromartie: Those bugs will be fixed in the next build, along with some other related problems.
Is there any interaction between the markdown support plugin and cursive? I get “nil language” errors when I have both plugins installed and have clojure marked fenced code blocks in my markdown files.
@akiel: I’m not sure, I don’t know how the markdown plugin works. I’m not sure if it tries to use the language support from Cursive with blocks marked like that.
there are a few different markdown plugins, I use multimarkdown and it works without problems
@cfleming: should I open an issue? and/or should I submit the error? do you get thoose?
Happens on README from this project: https://github.com/alexanderkiel/ring-hap
That’s very weird - it doesn’t mention anything about markdown there at all - it looks to me like it’s highlighting a normal Clojure file.
@akiel: If you could file an issue with some repro steps that would be great, thanks.
I don't really know how to set nrepl up, I've find there are so many different libraries that all seem to solve some part of the repl experience, especially when combined with cljs
Yeah, I’m actually writing a design doc as we speak about how to try to simplify everything, especially WRT CLJS
I see, right now I've opted to run figwheel and serve the index.html and compiled cljs from the server, I was thinking this might cause problems with cors but it doesn't pretty cool.
Hopefully once I’m done with this all that will be properly integrated and will Just Work reliably
But still having issues actually repling to the server. I am using nginx-clojure and run lein with-profile run embed which loads some wrap-reload development ring handler.
I expected that creating a run configuration with nrepl and embed lein profile would connect to the server. I do get a repl and can evaluate code, but I don't think it's actually connected to the server.
If you can configure it to start an nrepl server you can connect to it with the remote option.
You can do that fairly easily with the bare nrepl library, but I don’t know anything about the nginx-clojure lifecycle
I have test results that are too big for tooltips
I am trying Cursive for the first time and getting a blizzard of "cannot be resolved" errors in the Code Inspections / General.
Is this b/c it's configured wrong, or are these known issues?
For instance, I have "String cannot be resolved", where there's a type hint that a record's field is a String.
Also, fully qualified Java method calls like "java.util.UUID/randomUUID cannot be resolved".
Am I doing it wrong, or is this all to be filed under the category of "Cursive is still a work in progress" ?
I don't think that's normal
Okay. Seemed like it must not be. Pretty basic stuff.
Is there any special setup I need to do for a project before importing it besides pointing at the project.clj? Any way to dig into why it's failing to resolve basic things?
Or do folks just shut off "General" Inspections and only use "Clojure" inspections ?
I didn't change those
were you using IntelliJ for Java work before installing Cursive?
I just installed IntelliJ and Cursive and imported my projects
That's what I did.
I'm noticing some of the cannot resolves are coming from functions in amazonica.aws.sqs, which builds those functions by reflection, so that makes sense. that still doesn't explain String, java.lang.String, and java.util.UUID/randomUUID don't resolve.
Thread/sleep
cannot be resolved. Sigh.
Think I'll save this adventure for another day.
😞 sorry
that's strange
alexisgallagher: I have to run sorry, but a couple of things to check - I suspect your project doesn’t have an SDK. Open File->Project Structure and check that there under “Project”. That would explain the unresolved classes.
@alexisgallagher: Unfortunately you’re right, the functions built via reflection won’t be resolved correctly.
@cfleming: That fixed it. Thanks!
@jcromartie: Yeah, I need to add a maximum size of some kind for the tooltips, or IntelliJ freaks out