Skip to content

Support for editors including Atom's proto-repl and Cursive#11

Open
jaidetree wants to merge 2 commits intoRickMoynihan:masterfrom
jaidetree:editors
Open

Support for editors including Atom's proto-repl and Cursive#11
jaidetree wants to merge 2 commits intoRickMoynihan:masterfrom
jaidetree:editors

Conversation

@jaidetree
Copy link
Copy Markdown

@jaidetree jaidetree commented Dec 20, 2018

Features

  • Filters out noisy Cursive messages
  • Filters out noisy proto-repl messages

Testing

  1. Create a test directory like test/deps-test

    {:aliases {:nrepl {:extra-deps {nrepl/nrepl {:mvn/version "0.4.5"}
                                    proto-repl {:mvn/version "0.3.1}}
               :rebl {:extra-deps {org.clojure/clojure {:mvn/version "1.10.0-RC3"}
                                   rickmoynihan/rebl.middleware {:local/root "../.."}
                                   org.clojure/core.async {:mvn/version "0.4.490"}
                                   com.cognitect/rebl {:local/root "../../resources/REBL-0.9.109.jar"}}}}}
  2. Start the REPL

    clj A:nrepl:rebl -m nrepl.cmdline --middleware '[nrebl.middleware/wrap-nrebl]' --interactive
    
  3. Open test/deps-test in IntelliJ with Cursive

  4. Have Cursive connect to an existing nrepl server

  5. Evaluate some code

Alternatively you could run git fetch test-configs && git checkout test-configs test to use preset deps and lein test configurations. See https://github.com/jayzawrotny/nrebl.middleware/tree/test-configs.

Merging

You can see all these pull requests merged together in https://github.com/jayzawrotny/nrebl.middleware/blob/develop/src/nrebl/middleware.clj

@IamDrowsy
Copy link
Copy Markdown
Contributor

Is there a chance this PR get's picked up again?
It would really improve working with rebl and (in my case) cursive.
I could also provide a non conflicting version of the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants