cursive

Rachel Westmacott 2025-02-13T16:17:25.421939Z

Is there a way to turn off REPLs printing the java command on startup? I have line-wrap on and the classpath is large (big app many transitive deps) so it's taking up a very large amount of scroll height every time I restart. (Why I have to restart so often is a separate issue...)

Rachel Westmacott 2025-02-17T15:49:27.363859Z

So I scrolled back to the beginning, and it looks like the very first java command is 'folded' in some way (light green hightlight, everything after java is replaced with an elipsis), but on subsequent restarts I get the full java command in dark blue with all the JVM args and the full paths to the ~100 jar files in my local maven repo that my project is using.

cfleming 2025-02-17T19:28:57.954199Z

Oh, I see, so it's on restarts in the same REPL session? That makes sense. I'll see if I can fix that.

1
cfleming 2025-02-14T20:43:15.644239Z

No, that option is a different thing, which uses various means of shortening the command line path on Windows, which has maximum command line length limitations.

cfleming 2025-02-14T20:43:56.744409Z

The Java command should be being folded so this isn't a problem, is that not happening for you? Could you send a screenshot after starting the REPL?

imre 2025-02-14T20:54:20.415129Z

It could be different but using it makes the java command a lot shorter for me

cfleming 2025-02-14T21:50:32.276529Z

Oh yes, it definitely does, what I mean is that its main purpose isn't to make it less visible in the output, the folding should do that.

cfleming 2025-02-14T21:53:03.215539Z

I assume there's probably a setting for disabling that folding which Rachel might have enabled, but I can't find it right now.

imre 2025-02-13T16:21:51.852339Z

perhaps