This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-03
Channels
- # admin-announcements (6)
- # beginners (73)
- # boot (84)
- # cider (9)
- # cljs-edn (5)
- # cljs-site (8)
- # cljsrn (2)
- # clojure (158)
- # clojure-austin (1)
- # clojure-canada (1)
- # clojure-dusseldorf (2)
- # clojure-ireland (1)
- # clojure-russia (45)
- # clojure-sg (2)
- # clojure-uk (28)
- # clojurebridge (2)
- # clojurescript (142)
- # core-async (43)
- # cursive (23)
- # datascript (5)
- # datomic (9)
- # dirac (4)
- # emacs (23)
- # funcool (1)
- # garden (1)
- # hoplon (280)
- # jobs (1)
- # ldnclj (6)
- # leiningen (37)
- # luminus (6)
- # om (30)
- # om-next (1)
- # onyx (6)
- # perun (24)
- # re-frame (10)
- # reagent (20)
- # remote-jobs (1)
- # rethinkdb (2)
- # ring-swagger (4)
- # rum (3)
- # spacemacs (6)
- # untangled (36)
- # yada (5)
Hi, everyone! I'm curious to know if there's a way to use CIDER with my GUI Emacs without installing Java.
For example, when using a VM, I can have the JDK installed there, and run Leiningen commands from inside the VM, while editing files on a shared folder.
I'm hoping that, since nREPL is (as far as I understand) a server exposing a port for communicating data to Emacs, I can attach to an instance of nREPL running inside the VM, and get all my fancy CIDER functionality through there.
Basically, I'd like to keep my host machine clean, and do all experimentation in an isolated environment.
Can anyone share any wisdom? :-)
@metropolislights: Unless I’m mistaken, I believe you’re looking for cider-connect
@metropolislights: you should be able to start a repl in the application, and then connect like @niamu mentioned. Check here for details on how to do that: https://github.com/clojure-emacs/cider-nrepl#via-embedding-nrepl-in-your-app
any spacemacs users here? I must say, I'm really impressed with it so far
looks super polished
@metropolislights: Also you can run Emacs in VM and use X forwarding to have UI on your local display.
@bojan.matic: I use Spacemacs! I barely even have to maintain my emacs configuration any more because of it.
Hi, trying to install solarized-theme, with M-x package-install solarized-theme getting Opening TLS connection to `http://melpa.org'...done url-insert-file-contents: https://melpa.org/packages/dash-20160306.1222.el: Not foun
@niamu @jcsims @bozhidar Thanks, guys! It was relatively painless. :-)
Just for future reference, configuring nREPL for the VM meant setting the host and port by doing this before lein repl
:
export LEIN_REPL_HOST=0.0.0.0 # the VM's 127.0.0.1 can't be seen from outside
export LEIN_REPL_PORT=8080 # or whichever port you're forwarding
For some reason, lein repl :connect 0.0.0.0:8080
was throwing ConnectException Connection refused
. I'll look further into it before opening and issue.
Everything CIDER-related was smooth sailing. It truly does rock. 👍