Fork me on GitHub

@lee.justin.m do I have to worry about other plugins overriding some of the keyboard shortcuts? does the latest installed plugin "win"?


I still do not fathom why does the docs say "ctrl alt <key>" yet means "hold ctrl + comman, release, then press <key>"


i don’t know that either


in terms of conflicts, yes, you can have them


i don’t exactly know what the order for resolution is


if you hit Cmd-. it will bring up the resolver, which will show you the conflicts


if there are packages that are getting clobbered they’ll show up in grey


Well if anyone cares, here my silly addition to clojure development in atom 😂


Ping-ponging back to proto-repl after using for awhile, going back to cursive/intellij, and returning again. This time I plan on cataloging the little things that bugged me, and seeing if I can help get them fixed. First thing I ran into was that the actual REPL window does not auto-scroll. Is this a known issue?


@dave.dixon It does auto-scroll -- most of the time... But if a panel pops up at the bottom and hides the current last line (e.g., doing a find), then it stops scrolling.


I tend to clear the REPL regularly so the last line is always further up the screen (or simply not bother to even look at the REPL since I never type into it and generally use the inline result displays in my source editor.


@seancorfield Right, just verified, and that rings a bell. Any idea what causes that problem? It's not a big deal, just one on the list of the "thousand cuts" that eventually bled me dry the first time.


I haven't looked at the source code so, no idea.


Is any form of "jumping to definition" provided by proto-repl? I see a command for jumping to the source of a Var, but it doesn't work for me.


it doesn’t work unless you are using clojure and are connected to a real clojure repl


so should I just start a repl with proto-repl first thing as I load a clojure project, if I want this feature working for me?


you definitely need a session going and i’m pretty sure that session has to be a real clojure session, not an nrepl session and probably not a cljs session


(i.e. it doesn’t work for my needs so i’m not sure)


so which proto-repl command should I invoke to get going? it's not really clear to me from how the different repl commands are named/documented


thanks in advance!


@matan I generally use Proto Repl: Toggle which is cmd-opt-l or ctl-alt-, l (that's an L) which starts a Clojure REPL based on the first project in your workspace.


Or you can open the project's project.clj / build.boot file and do cmd-opt-L or ctl-alt-, L (Toggle Current Project clj)


And you'll want [proto-repl "0.3.1"] as a dev dependency.


Only one thing, in my Atom, all keyboard mappings do not include the alt key. Why is it mentioned so much as if alt is part of the keyboard combination?


Depends on the platform and what else you have running in Atom...


ctl-, will work as a prefix until it's mapped to something else...


oh well, thanks a lot, I'll use the toggle command, though I've no idea why it is called like that


It is a weird name. After all, when you have a REPL open, "toggle" doesn't turn it off 🙂


@matan @lee.justin.m I'm able to navigate to vars when connected to nREPL, for clj at least. Haven't tried with cljs. The only minor irritation is that when using the boot REPL, boot takes over the classpath, so navigating to a definition in your project takes you to boot's temporary copy of the source file. Using lein repl navigating to a var takes you to the file in your project.


@dave.dixon interesting. i guess it is just a cljs limitation. 😢


Yeah, I went poking around the proto-repl code to try and understand the boot issue, and I can see why it wouldn't work with cljs. It's leveraging machinery from the clojure.repl namespaces, metadata on vars, and so forth, and evaluating it in the REPL. I don't know if you could make that approach work in CLJS.


for some reason understanding the repl issues is just beyond me. i think i have dunning-kruger on this issue because it seems like you just need to port a few simple commands back and for and it’s all text


dunning-kruger lol 🙂


I think Stockholm syndrome is a better fit for people having chosen a clojure dev environment


for example, I fail to see how there could be a difference between retrieving doc strings between the two environments.