Fork me on GitHub
#cursive
<
2017-02-16
>
kenny00:02:31

Has there been any solution to the awful namespaced maps printing in the Cursive REPL with clojure 1.9.0? It hurts my eyes to stare at a long list of namespaced maps 😩

tianshu01:02:11

@cfleming yes, It doesn't come out. It seems like the print only appear when I execute code in REPL or send code to REPL.

cfleming02:02:48

@kenny Yes, it’s fixed and will be in the next build.

kenny02:02:19

@cfleming Oh that's awesome. Thank you!

cfleming04:02:52

Hi everyone, I’ve uploaded a dev build with some fixes to the stub generation, and more useful logging when things go wrong. If you’ve been having problems with it, please give it a try and let me know if it helps.

cfleming04:02:03

Go to https://plugins.jetbrains.com/idea/plugin/8090-cursive, and where you see the list of published versions, click on “dev”. Download a copy of 1.5.0-snapshot2 for the version of IntelliJ you’re using, and install it using Settings-&gt;Plugins-&gt;Install from Disk….

cfleming04:02:56

If you’re still having problems, go to Help-&gt;Debug Log Settings… and enter cursive.stubs into the box. Then reproduce the problem, and send me the log from Help-&gt;Show log in Finder/Explorer.

cfleming04:02:23

Note that this will send me the classpath from your current project, which will probably include things like the project name in paths etc, and any super-secret deps you might have attached. If that’s a problem, let me know.

cfleming04:02:05

@kenny That build also has the formatting fix if you want to try it.

kenny04:02:33

@cfleming Okay, I'll give it a try. Will I still get notified of updates automatically if I do the manual install?

cfleming07:02:51

@kenny Yes, you will.

solussd14:02:51

Is it possible to set indentation rules for unrecognized symbols?

solussd14:02:52

the intellij “lightbulb” helper thing will only show “create function” as as long as the symbol in the function position is unresolvable

wilkerlucio19:02:51

@solussd I don't think so, because it has to index the symbol globally, otherwise it would have to have specific rules for each namespace. if your issue is because the symbol is coming from a macro or something, you can use (declare your-symbol) so cursive will have some place to point it at

solussd20:02:16

@wilkerlucio my issue was boot symbols from the implicitly required boot.core namespace. My “fix” was to explicitly require the symbols and add a symlink to my build.boot file in my src directory.

hairfire21:02:14

I'm doing research into Cursive for our company. I've managed to do integrated debugging (e.g., Step Into, Step Over) in Clojure code. Can one do the same kind of debugging in ClojureScript/Figwheel? Thanks!

cfleming21:02:05

@hairfire Not yet, unfortunately. I am planning to add that (in a “sometime this year” sort of timeframe) but it’s not there yet.

cfleming21:02:39

There are external tools like dirac and cljs-devtools, which are tricky to set up but very powerful. Depending on your use case they might work well for you.

hairfire21:02:57

Ok, thanks! BTW, Cursive is really good!

cfleming21:02:12

Thanks! I’m glad you like it!