cursive

Issues at: https://git.io/cursive-issues
kenny 2021-06-17T00:38:09.050600Z

I will just manually run the test in the REPL and inspect the printed output. Don't know if there's a better way.

onetom 2021-06-17T04:24:34.052300Z

and unfortunately the output is not as nice as using the built-in kaocha support for the = matcher. i was just asking about this on the kaocha channel the other day and got this response: > actuallyalys_slack: I think we could use better documentation for matcher-combinator support. I'll write up an issue. this was my question: https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/kaocha/near/241149364

tobias 2021-06-17T12:51:05.056200Z

Are things that I println to the REPL output window stored in a log file somewhere? I performed a long-running computation (several hours) and println'd the results to the REPL with the intention of copy-pasting them once the computation was completed, but IntelliJ froze after the computation was complete and copy-paste doesn't work. I'm hoping that I can find the results in a log somewhere instead of running the whole computation again. (Note to self: next time persist the results to disk!)

tobias 2021-06-17T13:22:10.056300Z

Never mind, I managed to export my results by selecting all the text in the REPL and choosing File | Print and printing to PDF, then copy-pasting from the PDF. Phew.

šŸ˜® 1
2021-06-17T14:03:03.056600Z

so, you managed to save the answer to Life, The Universe, and Everything. nice

greg 2021-06-17T15:05:13.059100Z

Cursive colours as comments anything following ; char (within a line) and forms following #_. Is there a way of colouring (comment) forms as comments?

onetom 2021-06-19T03:44:42.064600Z

use #_(comment ,,,), so even if the #_ is removed accidentally, the program inside won't run, when you load the file.

šŸ‘ 1
onetom 2021-06-19T03:51:30.071400Z

I'm one of those people, who write a lot of code inside comment blocks and I think it's nuts not to do so, because it's just too easy to accidentally load a source file, full of top-level code, which might be side-effecting. I guess most of the time it would throw some exception and most expressions would be just impure, but not side-effecting, but still feels unnecessary risk. I can imagine that others' tooling doesn't make it easy to accidentally load a namespace, but wouldn't that mean that accessing such a basic operation is not as easy as possibly can be?

greg 2021-06-29T20:02:03.122100Z

oh right, I haven't thought about #_ in front of (comment... ). Thanks

2021-06-17T19:28:20.059800Z

Error handling response - class java.lang.IndexOutOfBoundsException: Wrong line: 233. Available lines count: 171 Why I'm getting this error on running tests?

cfleming 2021-06-18T21:02:52.060500Z

Iā€™m not sure, it does look like the error Jeff posted. What do your tests look like? Are you using any odd test forms, or just deftest?

tobias 2021-06-17T22:05:44.059900Z

haha yup!