This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-22
Channels
- # aws (5)
- # bangalore-clj (3)
- # beginners (84)
- # boot (31)
- # carry (1)
- # cider (6)
- # cljsrn (7)
- # clojure (188)
- # clojure-conj (1)
- # clojure-dev (3)
- # clojure-dusseldorf (8)
- # clojure-greece (10)
- # clojure-italy (7)
- # clojure-nl (3)
- # clojure-russia (45)
- # clojure-spec (5)
- # clojure-uk (64)
- # clojurescript (83)
- # clr (9)
- # core-async (45)
- # cursive (55)
- # datomic (8)
- # devops (1)
- # emacs (7)
- # graphql (1)
- # hoplon (3)
- # jobs (1)
- # jobs-discuss (37)
- # lein-figwheel (3)
- # leiningen (4)
- # luminus (6)
- # off-topic (5)
- # om (2)
- # onyx (33)
- # pedestal (13)
- # re-frame (9)
- # reagent (28)
- # rum (15)
- # specter (4)
- # unrepl (38)
- # vim (3)
Recent Files (cmd + E) pops up with 3-8 seconds delay for me. Whereas Recently Edited Files shows up instantly. I understand the latter is a subset of the former. Is there any way to speed up Recent Files?
Navigate by namespace includes namespaces of all required deps. Is there a way to limit it to the project namespaces?
one example stack for the case 👆
Say, is there a command for "re-indent surrounding form" that I could bind to a key? Currently I'm putting extraneous )
characters on a line by themselves to do so, but it's kind of goofy
...ah, got it, command-option-L does that very thing
I don't understand how the REPL debug button is supposed to work. I'll write a function and create a breakpoint demonstrated below:
(defn my-add
[x y]
(+ x y)) ; <-- breakpoint here
Then I click the debug mode button in the REPL pane and execute this form:
(my-add 1 2)
And nothing happens. I'd expect that the breakpoint would be hit and I'd be taken into the usual breakpoint UI. Am I doing something wrong?@kenny That button doesn’t start the debugger. For the debugger to start, you have to run your REPL configuration in debug mode (so Run->Debug <whatever> rather than Run->Run <whatever>).
I’m pretty sure it works in the previous EAP if you need it, I’ve used it recently.
Hehe. Well, as long as you don’t need anything from the latest EAP, downgrading should be safe I think.
That’s odd, I can’t see anything that would have affected the debugger in either release.
Here's exactly what I'm doing:
1. Create remote REPL with "Use Leiningen REPL port selected
2. Run boot repl
in the command line in my project
3. Run > Debug... > <name of previously created run config> > Run. This opens the REPL pane.
4. Add breakpoint inside my function
5. Load my namespace in the REPL
6. Switch to my namespace
7. Run my function
If you’re running your REPL externally, then you’ll need to connect the remote debugger to the JVM.
So there are three steps - start your process in debug mode using the Java opts specified there, then connect your remote debugger, then connect your remote REPL.
@cfleming I'm not sure where this section is: > 'IntelliJ/Run/Edit configurations.../Defaults/Remote' and adjust the Settings section accordingly, using port 5005
Actually, you don’t have to modify the Defaults, just create a Remote configuration and modify that.
It sorta works haha. My fn is
(defn my-add
[x y]
(+ x y)) ; <-- breakpoint here
I call (my-add 1 2)
and it opens the breakpoint UI except it thinks both x and y are null.It’s a flag that affects the compilation of code, so you’ll have to recompile your code after switching the flag.