Usually, I work in vim, and I ssh to a server (doing web dev) to edit code, and run the dev server, etc. I'm trying to use Intellij IDEA with Cursive plugin for Clojure, and it would be great to replicate the same type of style. (So far, I'm really, really into the Intellij + Cursive combo!)
I've used sshfs mount, but IntelliJ understands that locally, so when I try to run a Ring server from the REPL, it runs locally instead of on the server, which is not what I'm looking for.
Basically, I'd like it to work via ssh transparently - edit the code on the remote server, run the REPL remotely, etc. If that is beyond what is possible today, that's an acceptable answer too.
I've searched high and low, thinking this would be (1) a reasonably common use case and (2) solved long ago, but maybe I just don't understand the IDE and clojure well enough yet (having started not too long ago).
Mountains of thanks if anyone has any words of advice for me.