Fork me on GitHub
#cursive
<
2018-04-27
>
misha03:04:31

@solussd select few lines of a map and call formatter - will format only that map, and not entire ns

👍 4
gklijs08:04:39

@lee.justin.m I believe somewhere in the configuration you can disable particular warnings.

timgilbert16:04:42

Say, is there a way to get "reformat code" to apply only to the containing form, or better still to the containing top-level form? I use it all the time but my colleagues don't, so I always need to select the function I'm working on if I want to avoid reformatting their code and coming off slightly passive-agressive

4
rymndhng16:04:58

^ on a slightly related note, has #cursive looked into adding support for :style/indent metadata, this would be a great way to have consistent indentation for macro forms across libraries. See https://cider.readthedocs.io/en/latest/indent_spec/

hlship22:04:33

Anyone ever see a case where reloaded code just doesn't seem to reload? I'm putting prn into my code for debugging purposes and reloading, no errors in the REPL, but the new code doesn't seem to take effect.

hlship22:04:41

Trying an "invalidate caches and restart".

hlship22:04:17

Also, same situation, breakpoints in the debugger don't trigger, or are "x"ed even for normal lines (e.g., in a function, not a protocol method).

hlship23:04:59

Now I've blown away and reloaded my big project, wiped indexes, cleared out ~/.m2/repository ... no dice!

hlship23:04:33

Let's see if a reboot helps....

hlship23:04:39

Not having a good day.

hlship23:04:51

Nope. Bizarre. I can even verify that the right source is visible to io/resource and yet when I load a namespace or even use eval form in repl, no dice.

hlship23:04:53

The classpath of the REPL process looks correct. I don't even know what's going on.

hlship23:04:14

Always, when you think the world has gone insane, it ends up being some tiny, understandable thing. But so far I haven't found it.

hlship23:04:35

e.g., you will almost never find a C compiler bug. If you think you find one, keep looking elsewhere.

hlship23:04:58

Let's try upgrading to latest IntelliJ.

hlship23:04:14

May not be a Cursive problem since it's happening in Leiningen REPL 2.7.1 as well.