cursive

Issues at: https://git.io/cursive-issues
onetom 2020-11-05T07:02:56.180200Z

I might have asked this already, but is there a way to customize the REPL prompt for nREPL connections?

cfleming 2020-11-05T10:51:10.180400Z

In Cursive, there really is no REPL prompt - which is the part you’d like to customise?

onetom 2020-11-05T15:09:20.185600Z

there is a => in the output, but that's not really a prompt indeed. what i would like is the same kind of thing as clojure.main/repl-prompt, so i can constantly reflect some state of my program. more specifically i would use it to switch between different deployment environments (using different aws profiles, ssh keys, domain names) and evaluate expressions, which would implicitly depend on the current environment.

onetom 2020-11-05T15:09:44.185800Z

so before i evaluate something, i would see which environment will it going to be evaluated.

onetom 2020-11-05T15:31:17.186Z

im practically trying to use cursive as a unix shell replacement, so it feels like i would need something like a shell prompt.

pez 2020-11-05T13:06:28.181200Z

Is there a way to fold maps?

pez 2020-11-05T13:08:27.183Z

Context: We are trying with inlining tests into the function attribute maps. It often gets that tests take up much more space than the function itself and the Cursive users in the project do not seem to be able to fold the attribute map.

imre 2020-11-05T13:10:55.183100Z

A question on that: how do you keep test-only requires out of the prod namespace this way?

pez 2020-11-05T13:15:43.183300Z

We don’t. 😃

2020-11-05T13:24:53.184300Z

You can fold any selection with Command-Period on the Mac, I assume PC is similar.

❤️ 1
imre 2020-11-05T13:34:31.184400Z

Ah, okay then 🙂