cursive

p-himik 2025-05-17T15:30:28.618219Z

Seems like the "Restart REPL" button is broken. It just stops the current REPL process but doesn't actually start a new one, and pressing "Stop" after that results in an error pop-up saying "No current file found".

p-himik 2025-05-17T15:31:22.969869Z

Oh, and after simply closing the REPL tab I can't even start a new one - pressing on Start does nothing, regardless of the chosen REPL configuration.

p-himik 2025-05-17T15:33:07.376979Z

Ugh. Even restarting the IDEA doesn't help - I can't start a REPL now at all.

p-himik 2025-05-17T15:34:30.236929Z

Nothing in the logs.

p-himik 2025-05-17T15:40:22.520119Z

Re-enabling the plugin also didn't fix it.

p-himik 2025-05-17T15:56:10.601639Z

Ah, goddammit. I accidentally made a change in deps.edn that made it invalid. The only indication that something is wrong is that tiny error icon in the bottom right corner that after clicking on it says that there's an exception thrown by Cursive: java.lang.RuntimeException: Map literal must contain an even number of forms.

raspasov 2025-05-17T21:40:38.233469Z

I think most editors do at least a bit of this today but I always enjoyed the static analysis Cursive performs (almost instantly) to give quick feedback something is (obviously) wrong

cfleming 2025-05-17T21:41:38.613499Z

Sadly Cursive doesn't do much of that in deps.edn files, but I have plans to do so. And the specific case of even map entries is one Cursive doesn't handle well.

raspasov 2025-05-17T21:41:41.458269Z

One habit I’ve had for years is that I typically use the terminal to start the JVM, and then connect from cursive… which can sometimes reduce the amount of voodoo IntelliJ tends to add to the whole process

cfleming 2025-05-17T21:42:04.916269Z

@p-himik It should have popped up a notification, do you have those disabled or something?

raspasov 2025-05-17T21:42:05.323999Z

In that case, the error there is clear:

Error building classpath. Error reading edn. Map literal must contain an even number of forms

raspasov 2025-05-17T21:42:36.001759Z

> popped up a notification Yup… that did show up… on my computer.

p-himik 2025-05-17T21:44:02.688069Z

@cfleming I probably do - some plugins sometimes decide to be problematic and spam errors that don't really affect what I do.