protorepl

danp 2018-03-31T19:07:29.000134Z

Hi folks, I've had a bit of a break from Clojure and seem to remember autocomplete working in the proto-repl window as well as in files. Doesn't seem to be doing it now. Should autocomplete work there or did I just remember it wrong?

seancorfield 2018-03-31T19:10:23.000045Z

It requires a running REPL with your code eval'd into it @danp

danp 2018-03-31T19:14:37.000019Z

Thanks, how do I actually do that? :-s

seancorfield 2018-03-31T19:15:22.000141Z

What O/S are you on?

danp 2018-03-31T19:15:26.000074Z

Linux

danp 2018-03-31T19:15:28.000009Z

Ubuntu

seancorfield 2018-03-31T19:16:07.000104Z

Hmm, I don't know the key chords for Linux. Do you know how to start a REPL in Atom?

danp 2018-03-31T19:16:25.000125Z

Yep, ctrl+, then l

seancorfield 2018-03-31T19:17:10.000086Z

OK, so it's the same as Windows then! So, once you have your REPL running, load the current file ctl+, f and then you should have autocompletion in that file.

seancorfield 2018-03-31T19:18:06.000116Z

As I'm writing each new top-level form, I evaluate it into the REPL with ctl+, B (if you use ctl+, b it evals just the current form, not the top-level form).

seancorfield 2018-03-31T19:18:57.000098Z

(I pretty much never type into the REPL -- like Stu Halloway's REPL-driven development talk describes -- putting it in a file or a (comment ...) form and eval each form from there)

danp 2018-03-31T19:19:19.000028Z

Oh, the ctl+, B tip is handy, cheers!

danp 2018-03-31T19:19:54.000082Z

It's still not working though 😞

danp 2018-03-31T19:20:31.000009Z

I don't tend to type much in the REPL myself though, was just curious as I could have sworn I'd had the autocompletion previously

danp 2018-03-31T19:20:59.000056Z

All works in the file itself though - thanks for the help @seancorfield 🙂

seancorfield 2018-03-31T19:21:40.000062Z

Hmm, no, I don't think autocomplete ever worked in the REPL in ProtoREPL... but I don't type there so... 🙂

danp 2018-03-31T19:22:06.000108Z

I'm not ruling out a false memory, especially on a Saturday evening!

seancorfield 2018-03-31T19:22:30.000022Z

8pm? UK/Europe?

danp 2018-03-31T19:24:15.000026Z

yep

danp 2018-03-31T19:24:25.000076Z

UK

seancorfield 2018-03-31T19:26:11.000082Z

I'm originally from there. Now in the San Francisco Bay Area.

seancorfield 2018-03-31T19:26:30.000088Z

Have you watched Stu's talk BTW?

danp 2018-03-31T19:27:10.000019Z

Oxfordshire here...

danp 2018-03-31T19:27:11.000014Z

Yep, I think that's one I've seen

danp 2018-03-31T19:29:15.000053Z

I've tried to maintain all my commented experiments in files I'm working with, not so much at work, but when I've been playing around at home.

1