S
S
Solver2015-04-22 22:36:36
REPL
Solver, 2015-04-22 22:36:36

How to set up Sublime Text 3 + Clojure REPL?

Installed Sublime Text 3 + Clojure REPL as per:
https://github.com/jasongilman/SublimeClojureSetup
REPL runs but doesn't output any command response.
For example, typing (/ 4 2) does not return anything.
Those. you enter the command and no response. Nothing hangs, you can print something else.
973d128070234b2281844ca9de41d17e.png
That being said, the REPL from the command line works fine.
Is anyone using Sublime to work with REPL in Clojure?
Please tell me how to set it up to work correctly.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Vasilenko, 2015-09-23
@SanchelliosProg

I won't answer the question, sorry. But I recommend using emacs + cider. There are tons of manuals, very convenient to work with. You divide the window into two parts, in one you write and compile the code, in the other you try what you wrote in the replay. It's a fairy tale. Yes, and emacs is a great tool, it does not take too long to get used to it, about two hours. And then... Well, just try it.

A
Alexey, 2018-12-07
@CheatEx

SublimeREPL, even if you manage to start it, is a rather inconvenient thing. Embedding a console and running the REPL in it works much better. I am using Terminus and SendCode . For example, this command raises Figwheel and opens it in its own view:

{
        "caption": "Terminus: Run Figwheel.main",
        "command": "terminus_open",
        "args"   : {
            "cmd": ["lein", "fig:dev"],
            "cwd": "${project_path}/../",
            "config_name": "Default",
            "panel_name": "fig:dev"
        }
    }

In the simplest case, it should work. I would also advise setting up rebel-readline - it is much more convenient than the standard one ( motivational video ).

Z
Zin4uk, 2020-07-27
@Zin4uk

My option for Windows:
1. Install the PowerShell module for Widows
2. Add a new build system to Sublime :

{
  "shell_cmd": "powershell clj $file"
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question