protorepl

imetallica 2017-10-27T23:25:55.000157Z

Hey everyone, I'm not sure if I'm doing something wrong, but I can't make proto-repl work on Windows... 😕

imetallica 2017-10-27T23:27:30.000100Z

I don't have autocompletion and stuff on the editor

seancorfield 2017-10-27T23:31:20.000149Z

All that only works if you have a REPL running and the code loaded @imetallica

imetallica 2017-10-27T23:32:07.000096Z

@seancorfield you mean I already need to have an repl running before starting the repl "inside" atom?

seancorfield 2017-10-27T23:33:02.000013Z

No. I mean you need ProtoREPL connected to a REPL -- either in Atom or outside it -- that is running in the context of your project's code.

imetallica 2017-10-27T23:33:14.000034Z

Ah, gotcha

imetallica 2017-10-27T23:33:27.000085Z

So, for autocompletion, do I need to load the file into repl?

seancorfield 2017-10-27T23:33:42.000071Z

Most of the "smarts" that you get from ProtoREPL come from its ability to ask the live, running Clojure process about the code.

seancorfield 2017-10-27T23:34:44.000143Z

For auto-completion, most of the support for that is based on the code having been compiled into the live, running process.

seancorfield 2017-10-27T23:35:44.000098Z

Also, a lot of things are dependent on your project having ProtoREPL as a dependency (so it is also loaded and running in your REPL process).

seancorfield 2017-10-27T23:36:21.000127Z

[proto-repl "RELEASE"] in your dev dependencies.

👍 1
seancorfield 2017-10-27T23:36:51.000097Z

(unless you want a specific version -- that will always give you the latest release when you start the REPL).

imetallica 2017-10-27T23:37:04.000160Z

I'll give a shot then

imetallica 2017-10-27T23:37:34.000096Z

@seancorfield thanks for the help m8! 🙂

seancorfield 2017-10-27T23:46:25.000171Z

Any time! 🙂 I switched from Emacs to ProtoREPL after last year's Conj and I've been very happy with it.