Fork me on GitHub
#cursive
<
2023-02-24
>
onetom09:02:32

there is something funky going on w intellij EAPs. when im trying to type at the end of a line, the newly typed space gets trimmed off within less than a second. so if i don't type very fast, all the newly typed spaces are eaten up. once this happens, i have no clear way of getting out of this state yet; i just restart intellij or switch back to the non-eap version... has anyone else experienced something like this?

markaddleman09:02:58

Perhaps format on save is turned on?

markaddleman09:02:11

Check save actions

👍 1
onetom14:03:14

Everything is turned OFF under Settings / Tools / Actions on Save 😞 so that's not it.

markaddleman14:03:44

😕 Sometimes when IntelliJ gets this screwed up, I delete my workspace and re-import the project.

onetom07:03:27

i think, i just stumbled on the reason why the automatic space removal phenomena is happening. somehow the Reader mode gets turned ON and then this auto-reformat happens seemingly, BUT in reality all the entered spaces are retained and become visible, after i turn the Reader mode OFF. does anyone know how to toggle the reader mode from the keyboard? i can't even find an action for it, just a checkbox in settings...

serioga07:03:17

There is a separate checkbox to reformat the code in reader mode.

cfleming20:03:23

That is extremely strange, I would never have guessed that one.

cfleming20:03:55

If you use Cmd-Shift-A to search for actions, you can search for config items and toggle them from there too.

onetom03:03:39

i toggle certain things from the actions menu, but i can see a direct toggle for reader mode.

onetom09:02:08

similar anomaly is when im trying to type into some input field, like Settings / Editor / Font / Size:, the whole input field gets selected after every keypress, hence new keypresses are just overriding the whole content of the field. has this happened to anyone else?

rads18:02:34

I would like to be able to restart my server with a keybinding. Is there any way to send a form to the Cursive REPL with a keybinding without loading it from the editor? I just need to run one function

caleb.macdonaldblack18:02:43

You can do this with repl commands

rads18:02:04

Ah, this: https://cursive-ide.com/userguide/repl.html#repl-commands This looks like exactly what I need. Thanks!

onetom07:03:27

i think, i just stumbled on the reason why the automatic space removal phenomena is happening. somehow the Reader mode gets turned ON and then this auto-reformat happens seemingly, BUT in reality all the entered spaces are retained and become visible, after i turn the Reader mode OFF. does anyone know how to toggle the reader mode from the keyboard? i can't even find an action for it, just a checkbox in settings...