Fork me on GitHub
#cursive
<
2017-04-19
>
Rachel Westmacott08:04:08

I have a weird problem. When I switch from one file to another, the keyboard shortcuts for some actions appear to apply to the file I am no longer looking at.

Rachel Westmacott08:04:41

I’ve tried ‘select all’ and ‘cycle collection type’ and they both apply to the no-longer-visible file.

cfleming09:04:50

@peterwestmacott I’ve never seen anything like that. Does it happen with other languages too? It sounds like an IntelliJ level problem.

Rachel Westmacott09:04:05

yeah, that’s what I suspect

Rachel Westmacott09:04:08

it is properly weird

Rachel Westmacott09:04:27

I’ve noticed it a few times since the 2017.1 update to IntelliJ

Rachel Westmacott09:04:47

I’m only really writing Clojure at the moment (:-D) so I’ve not noticed it elsewhere

Rachel Westmacott09:04:10

it seems like some level of “focus” gets stuck on one file, and whatever other file I switch to, certain editor actions get sent back to the stuck file.

Rachel Westmacott09:04:25

it’s more surprising than problematic

cfleming09:04:57

When you switch to the new file, do you see the caret in that editor?

Rachel Westmacott10:04:37

everything appears normal

Rachel Westmacott10:04:50

but some commands appear to be sent to a different file

cfleming10:04:49

Hmm, that would definitely be an IntelliJ bug then.

Rachel Westmacott10:04:13

it seems to be pretty fundamental to the editor - thanks for thinking about it - keep up the good work!