This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-29
Channels
- # arachne (3)
- # bangalore-clj (6)
- # beginners (246)
- # boot (57)
- # business (1)
- # capetown (1)
- # cider (2)
- # clara (1)
- # cljsjs (36)
- # cljsrn (1)
- # clojure (150)
- # clojure-austin (4)
- # clojure-brasil (7)
- # clojure-china (2)
- # clojure-france (3)
- # clojure-greece (3)
- # clojure-japan (3)
- # clojure-russia (38)
- # clojure-spec (25)
- # clojure-uk (25)
- # clojurescript (320)
- # clojurex (1)
- # cursive (38)
- # datascript (48)
- # datomic (23)
- # emacs (29)
- # events (1)
- # funcool (2)
- # hoplon (64)
- # jobs (3)
- # luminus (10)
- # off-topic (26)
- # om (27)
- # om-next (1)
- # onyx (1)
- # parinfer (38)
- # perun (5)
- # planck (19)
- # re-frame (38)
- # reagent (19)
- # remote-jobs (1)
- # rum (2)
- # schema (2)
- # spacemacs (1)
- # specter (8)
- # test-check (10)
- # vim (7)
- # yada (14)
@cfleming I did a fresh install of IntelliJ and it turns out the RAM settings were not getting persisted for some reason. Now the RAM bar in the bottom right shows the correct amount of RAM and everything is running much smoother. I backed up my settings, deleted all my IntelliJ config folders from previous installations, and imported the backed up settings into the new IntelliJ installation. I guess deleting those old config folders did the trick? Glad everything is fixed now 🙂
When I switch over to the REPL window from my main window Cursive/Intellij will always save my files. even though I have "Save files on frame deactivation" disabled. Intellij does NOT save my files if I switch to other Intellij windows, such as "Find'. It also behaves correctly when I switch to other frames like the browser
@kenny That’s very strange. I’ll try to fiddle with that now, because I saw exactly the same number you did.
@rauh Yes, it does. This was a change I made a while ago, because it was very surprising for people sometimes when that didn’t happen
Sorry, I missed your message the other day - you don’t want this because you don’t want Figwheel to kick in, is that right?
Yes, I have some bad state that doesn't rerender properly and I need to debug it. But as soon as figwheel kicks in, everything is good and I can't debug my components state
I can’t think of a good way around that unfortunately, unless you write your debug code in the editor and send the forms to the REPL without switching to the REPL editor.
Yeah it's not a huge problem, and I tend to not have to bugs all the time (thankfully 🙂 )
Yeah, it’s an unusual use case - I wonder if the REPL saving should obey that flag, though.
For the slack records/log: https://github.com/cursive-ide/cursive/issues/1597
How do you manage multiple projects (e.g microservices) at the same time? Is there some way to have multiple repls or something like that? Some of these are on separate repositories.
@yonatanel Yes, you can import multiple Leiningen projects into the same IntelliJ/Cursive project. They will be imported as IntelliJ modules. You can then have multiple REPL configurations, and those configurations specify the project they should use.
Hi! There is a way to pretty-print with color on the repl? I know @cfleming was trying to do this automatically
I'm going to try aprint (https://github.com/razum2um/aprint) btw
doesn't work either, for some reason I think this was working before
ah! found it, I was printing a datomic.query.EntityMap
if I print a simple map or convert the EntityMap into a normal clj map aprint works as expected
For the past few minutes I couldn't reset my keybindings and got stuck with paredit or something like that. Had to start over from "Default for XWIN"
As of recently, unable to run tests in cursive, I get this error trying to eval a test under my caret: Error evaluating - class java.lang.NullPointerException:
@cfleming yup
2016-11-29 10:32:21,314 [71187199] ERROR - cursive.repl.nrepl - Error evaluating
java.lang.NullPointerException: null
at cursive.repl.actions$path_dependency_map$fn__9298.invoke (actions.clj:290)
clojure.lang.PersistentHashMap.kvreduce (PersistentHashMap.java:232)
clojure.core/fn (core.clj:6536)
clojure.core.protocols$fn__6531$G__6526__6540.invoke (protocols.clj:174)
clojure.core$reduce_kv.invoke (core.clj:6562)
cursive.repl.actions$path_dependency_map.invoke (actions.clj:289)
cursive.repl.actions$load_file_BANG_.invoke (actions.clj:325)
cursive.repl.actions$load_file$fn__9344.invoke (actions.clj:401)
cursive.repl.nrepl$submit$fn__3432.invoke (nrepl.clj:126)
clojure.lang.AFn.call (AFn.java:18)
java.util.concurrent.FutureTask.run (FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
java.lang.Thread.run (Thread.java:745)
@denik Does File->Invalidate caches help with this? It looks like you have a namespace that’s a little funky somewhere - it might be that the indexes have corrupted, or you might actually have something like a namespace which requires one that doesn’t exist, or something like that.