Fork me on GitHub
#cursive
<
2017-06-21
>
cfleming00:06:27

PSA: for anyone who managed to download 1.5.2 before I pulled it, the builds for several IntelliJ versions are bad due to a botched merge - they contain incomplete changes intended for 1.6.0. I recommend downgrading to 1.5.1, instructions are here: https://groups.google.com/forum/#!msg/cursive/4xlDyyteirw/3_q8Dyp9CwAJ

cfleming02:06:48

@olfal @souenzzo Thereā€™s an issue that several users have had recently where somehow the severity of their inspection gets switched. See here for details: https://github.com/cursive-ide/cursive/issues/1637#issuecomment-298197331

cfleming02:06:16

If that is the problem for either of you, could you let me know what the severity was when you had the problem?

olfal03:06:01

cfleming: That was it! The severity was switched to no highlighting, only fix

cfleming03:06:45

@olfal So itā€™s weird, because I think thatā€™s actually the correct severity - Iā€™ll check that and see.

olfal03:06:39

oh. After setting it to error I was able to see the Unused alias warning

olfal03:06:56

Iā€™ve tried every level of severity and they all work except no highlighting not sure if itā€™s a bug or not :thinking_face:

olfal03:06:37

Thanks a lot āœŒļø

cfleming03:06:41

Ok, great, thanks - Iā€™ll check that out.

souenzzo02:06:56

Most missing thing for me is highlight equal symbols inside a quote šŸ˜•

cfleming02:06:42

@souenzzo Sorry, that was in reference to the missing unused marking.

cfleming02:06:01

Youā€™re talking about brace matching inside strings?

cfleming02:06:20

Or inside quoted forms?

souenzzo02:06:04

quote/datalog [:find ?erro :where [?error :my/misstyped-symbol]]

cfleming02:06:12

@souenzzo There was actually a discussion about this on the ML recently: https://groups.google.com/d/topic/cursive/reN-UZdYZ3Y/discussion

cfleming02:06:18

Iā€™m planning to add support for that.

jimmy03:06:02

hi guys, in intellij how do we reload live templates at runtime, just in case we edit the live templates xml file directly ?

cfleming07:06:34

@kauko You can upgrade - 1.6.0 fixes the problems that were present in 1.5.2.

kauko07:06:02

Honestly, it was pretty interesting how badly 1.5.2 seemed to bork my editor šŸ˜„ I couldn't open some files, even though I could see them in the file tree and search dialog, global find didn't really seem to work at all, and a lot of namespaces were not getting evaluated at all.. the evaluation failures I get, but not being completely unable to open some files was surprising

kauko07:06:22

I guess Cursive does a lot of work under the hood

cfleming07:06:02

Itā€™s not so much that - IntelliJ will bail if it receives an exception as some critical point. Itā€™s normally pretty robust, but something in that mix of half-baked changes really threw it for a loop.

denik13:06:55

Is it possible to jump to the namespace of a fully qualified keyword? Similar to jump to definition on vars?

wilkerlucio18:06:16

denik: not yet as as far as I know, I opened an issue to jump to spec definition a few days ago: https://github.com/cursive-ide/cursive/issues/1781

cfleming20:06:29

Right, the fix for this will be a more general solution to allow keywords to be ā€œdefinedā€, re-frame also uses this I believe.

potetm15:06:17

Here's a question: Is there a way to configure let/map alignment to ignore right-hand atoms that are on their own line?

potetm15:06:48

e.g. Here's what happens:

(let [foo     (bar baz)
      buzzing (buzzy foo)
      longer-and-longer
              (map (fn [{:keys [a b c]}]
                     (fuzz a b c))
                   foo)
      lastly  (filter pos?
                      longer-and-longer)]
  ...)

potetm15:06:11

and here's what I'd like:

(let [foo     (bar baz)
      buzzing (buzzy foo)
      longer-and-longer
      (map (fn [{:keys [a b c]}]
             (fuzz a b c))
           foo)
      lastly  (filter pos?
                      longer-and-longer)]
  ...)

Lone Ranger19:06:05

does anyone know if there's anyway to configure Cursive settings? In this instance I want Cursive to treat certain macros as defn

Lone Ranger19:06:41

for cljs-react stuff defining components with macros but not being able to navigate to them is causing some headaches

cfleming20:06:02

@potetm I donā€™t think so, no - as far as I can tell, the IntelliJ formatter isnā€™t capable of expressing this.

cfleming20:06:25

Which is a pain for the reasons you mention, especially when using destructuring.

cfleming20:06:17

@goomba See https://cursive-ide.com/userguide/macros.html - you can now resolve as defn, although the screenshot is a little out of date and doesnā€™t show that.

Lone Ranger20:06:52

@cfleming did I ever tell you how amazing you are? šŸ˜