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?
It requires a running REPL with your code eval'd into it @danp
Thanks, how do I actually do that? :-s
What O/S are you on?
Linux
Ubuntu
Hmm, I don't know the key chords for Linux. Do you know how to start a REPL in Atom?
Yep, ctrl+, then l
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.
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).
(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)
Oh, the ctl+, B tip is handy, cheers!
It's still not working though 😞
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
All works in the file itself though - thanks for the help @seancorfield 🙂
Hmm, no, I don't think autocomplete ever worked in the REPL in ProtoREPL... but I don't type there so... 🙂
I'm not ruling out a false memory, especially on a Saturday evening!
8pm? UK/Europe?
yep
UK
I'm originally from there. Now in the San Francisco Bay Area.
Have you watched Stu's talk BTW?
Oxfordshire here...
Yep, I think that's one I've seen
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.