Fork me on GitHub
#cursive
<
2018-04-16
>
Oliver George10:04:26

Quick sanity check. Is there a way to refer to goog/DEBUG in cljs where the syntax highlighting won't suggest an error:

Oliver George11:04:08

Ah, image upload didn'twork. Both goog.DEBUG and goog/DEBUG show as "goog.DEBUG cannot be resolved" with greyish background.

joelsanchez11:04:21

even though slack complains, images work fine

joelsanchez11:04:55

Cursive uses to do that with things it can't resolve, it's a fact of life...it also happens with macros

potetm14:04:37

@cfleming yeah so, homing in on the actual prob

potetm14:04:01

when I hide the REPL (by, e.g. shift-esc)

potetm14:04:15

if focus was on the REPL, I cannot move focus back to the main editor

potetm14:04:37

I'm not sure if this is related to IdeaVIM, which is an ever-complicating factor

potetm15:04:48

another way of stating is: I must remember to esc -> shift-esc if I want to hide the REPL. If I forget that, the full sequence is: shift-esc -> Open REPL -> esc -> shift-esc.

potetm15:04:36

It'd be optimal for my workflow if focus was back on the editor when I close the REPL, but I'm fine with being able to grab focus by doing shift-esc -> esc.

cfleming22:04:22

@potetm I see, that’s unfortunate. I can’t see any way to modify the way those commands work, they’re totally baked in. One possibility might be to create a keyboard macro for the esc/shift-esc combo?

potetm22:04:42

I'll try a keyboard macro

cfleming22:04:13

No worries, sorry, that kind of sucks.

cfleming22:04:33

The window management around tool windows is occasionally lacking.