Fork me on GitHub
#cursive
<
2019-12-31
>
Joni12:12:24

The cursive repl history doesn't seem to save data across sessions, I recall it working at some point, but I'm not sure. Is this an issue or working as intended?

Joni12:12:55

Steps to reproduce: 1. Start a project repl 2. enter command 3. restart idea 4. start repl and press Up (or whatever previous repl history hotkey you have) 5. The command you wrote previously should then come in but doesn't

Joni13:12:59

Or this might be an issue with writing new commands to history since there's something there, but not the command you wrote earlier.

vehvis13:12:59

I can elaborate a bit further: the repl history stored in .idea/workspace.xml is read and used, but no new history is ever saved

vehvis13:12:09

For me the issue appeared after (or around) upgrading to IDEA 2019.3 and the corresponding Cursive version

cfleming09:01:30

That definitely sounds like a bug, I’ll try to reproduce that.

Scar18:01:05

Same issue here 👆:skin-tone-2:

cfleming22:01:17

I’ve actually just seen a post to the plugin development forum which suggests that this might be an IntelliJ bug.

royalaid17:12:44

@cfleming any word on support for string :requires from CLJS land?

kulminaator21:12:46

is there any way to turn off the parenthesis assist feature ?

kulminaator21:12:51

i am constantly fighting it

kulminaator21:12:01

just makes me hate the whole thing 😞

manutter5121:12:44

Look for a popup menu in the lower left of the window.

manutter5121:12:17

Also if you’re using Paredit and don’t like it, you might want to try Parinfer before shutting the whole thing off (or vice versa if you’re already on Parinfer). I prefer paredit myself.

Lennart Buit21:12:53

Yeah, I prefer Parinfer, I couldn’t get used to Paredit ^^. It is something that you do have to get used to, but it is so nice when you do

kulminaator21:12:45

yeah, tested it out, thanks, i prefer parinfer style too, much more natural for me than paredit 🙂

Lennart Buit21:12:01

also; a bit of a stupid tip; but if cursive lost its way in placing braces, sometimes commenting and uncommenting a piece of code ‘fixes’ the brackets :’)

Lennart Buit21:12:28

it is also a good party trick when pair programming

kulminaator21:12:05

yeah the commenting and cut-paste sort of works, but that way i just feel i'm fighting the tool