Fork me on GitHub
#cursive
<
2019-08-16
>
conan11:08:27

Is there any way to prevent cursive from wrapping things in the REPL? I never want my code to wrap because I find it very difficult to navigate up and down when it has done, but I can't find out how to prevent it. Note that I'm referring to the editor area of the REPL, not the output

helios11:08:55

good suggestion for a feature 😄

danieroux11:08:43

I don’t type in the editor area, so I’ve never noticed it simple_smile

helios11:08:01

@U9E8C7QRJ so you don't use the REPL in cursive? 😄

danieroux11:08:55

I sent the forms from mostly comment blocks into it

conan11:08:46

i type there all the time so i notice it

SgtZdog13:08:02

There is a Soft-Wrap button that I think defaults to On next to the Debug Mode button (looks like a little green bug) at the top of the REPL window. Turning that off will will disable the line-wrap.

helios13:08:41

@ULDBA88HY that's for the output, not for the input as @U053032QC asked, right?

SgtZdog13:08:56

ah, yes. I misread. I admit, my input doesn't wrap. I typed in a long string and it just kept going.

SgtZdog13:08:48

Don't ask me what I did to achieve such behavior, it has always been such.

joelsanchez13:08:56

mine wraps, the only time it doesn't wrap is when the string has no spaces (obviously)

SgtZdog13:08:51

Do you guys have Wrap on typing turned on in Code Style? Only thing I can think of.

SgtZdog14:08:40

Hmm, turning that off didn't change the behavior for me of the REPL input.

bluehut18:08:33

Uncheck 'Use soft wraps in console' in settings and that should do it

👏 4
conan18:08:51

Ok I’ll try that, thanks!

cfleming00:08:21

I must admit I actually have no idea about this, let me know if that option helps @U053032QC, otherwise I’ll investigate to figure out how this works.

cfleming00:08:32

I’m surprised the input area ever wraps, I’ve never seen that.

SgtZdog00:08:25

Lol, yay unintentional polymorphism?

cfleming00:08:02

Haha, sure looks like it.

rob18:08:17

seems like vars I define in repl input don't show up in the autocompletion list. But they do if I send the forms that typed in a file :thinking_face:

cfleming00:08:19

I think they should, but the process of updating the autocomplete list on the client is asynchronous, so it might depend how fast you type.

cfleming00:08:32

But if you’re seeing them not show up ever, then that would be a bug of some kind.

SgtZdog03:08:18

Would they not show up if the repl ns is set to be the file? Or is that just doing a refer all so it's accessible from the repl user ns?

rob21:08:55

they don't show up ever. Which is not a huge deal, except there's always some fuzzy matches for AnyOleFactoryFooBar so need to manually cancel the auto-complete

rob21:08:48

this was using a socket repl, I'll see if it's the same w/ nREPL.

cfleming04:08:25

Oh, yeah, that won’t work with socket repl right now, but I actually have that mostly done for release in a branch. It got shunted temporarily by all the deps malarkey unfortunately, but should be soon (for some actually soon value of soon)