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".
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.
Ugh. Even restarting the IDEA doesn't help - I can't start a REPL now at all.
Nothing in the logs.
Re-enabling the plugin also didn't fix it.
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.
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
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.
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
@p-himik It should have popped up a notification, do you have those disabled or something?
In that case, the error there is clear:
Error building classpath. Error reading edn. Map literal must contain an even number of forms> popped up a notification Yup… that did show up… on my computer.
@cfleming I probably do - some plugins sometimes decide to be problematic and spam errors that don't really affect what I do.