Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jaidetree
Copy link

@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
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