editors

Discussion about all editors used for Clojure/ClojureScript
erichmond 2015-08-20T19:04:54.000383Z

I’m using cursive and loving it, but I need that hot loading libraries into namespace / project.clj / repl feature yesterday!

erichmond 2015-08-20T19:05:04.000384Z

any chance we’ll get something like that in cursive?

2015-08-20T19:16:34.000385Z

@erichmond: Is it possible to use Alembic for that?

2015-08-20T19:16:41.000386Z

Not sure why it wouldn’t work in Cursive

2015-08-20T19:16:52.000387Z

https://github.com/pallet/alembic

erichmond 2015-08-20T19:17:00.000389Z

Never heard of Alembic, I’ll check it out, thanks!

2015-08-20T19:17:02.000390Z

Add to your .lein/profiles.clj

2015-08-20T19:17:09.000391Z

Then in the REPL

2015-08-20T19:17:18.000392Z

(require ‘[alembic.still])

2015-08-20T19:17:27.000393Z

And the typical way I use it is (alembic.still/load-project)

2015-08-20T19:17:30.000394Z

Which reloads your project.clj

benedek 2015-08-20T19:17:32.000395Z

that is what we use for this feature in refactor-nrepl

2015-08-20T19:17:48.000396Z

But you can also test out libraries with distill which takes a single dependency

2015-08-20T19:18:00.000397Z

As a note - there are some issues when requiring different versions

2015-08-20T19:19:02.000398Z

This will only get you to the adding new dependencies, not changing versions

benedek 2015-08-20T19:19:23.000399Z

this may be helpful i guess: https://github.com/clojure-emacs/refactor-nrepl/blob/master/src/refactor_nrepl/artifacts.clj

cfleming 2015-08-20T21:21:36.000401Z

@erichmond: Yes, alembic should work, but I’d like to make that transparent.

danielcompton 2015-08-20T21:29:34.000403Z

Yep alembic works well

nberger 2015-08-20T22:54:33.000405Z

Any slamhound user around here? Do you get annoying ClassNotFoundException when using dotted aliases like <http://java.io|java.io>? I think I have a fix in https://github.com/technomancy/slamhound/pull/87. Comments welcome :simple_smile: