Sublime Forum

Running clojure repl in SublimeREPL on windows

#1

I think I’m pretty close to getting it working but am missing something. I can run the REPL from a command prompt with “lein repl” anywhere (lein.bat directory is in the path). I’m able to start the REPL from the menu after modifying Main.sublime-menu to where lein is installed:
“cwd”: {“windows”:"/cygdrive/c/Users/a/Desktop/code/lein/lein.bat", // where the lein.bat lives!

But when I try to run do anything it hangs, cursor advances to line 16 and sits there:

I tried running shell from the SublimeREPL menu which gives me a prompt and “lein repl” starts up the REPL but any text entered is erased and the cursor returns to the start of the prompt when I press enter:

I wouldn’t mind having to run the REPL from a seperate window but it would be really nice to be able to pass files or lines into the REPL within sublime text 2. I’m running Sublime Text 2 build 2210, SublimeREPL 1.0.41, and leiningen-2.0.0-preview7-standalone.jar from the self-install lein.bat file. I tried searching for anyone with similar problems but couldn’t find anything, maybe i’m just not searching the right terms.

0 Likes

#2

I’m seeing the same problem on Arch Linux with sublime text 2.0.2 with leiningen 1:2.2.0-1 installed

Apparently we’re not the only ones.

0 Likes

#3

I have exactly the same problem on win 7 64bit, sublime 2.0.2, lein 2.3.4, clojure 1.5. Any solutions?

0 Likes