Shortcut key to close diff popup window?

已回答

Hi,

IIJ might be the best tool I've found for comparing git branches but for one glaring flaw.  I can:

1) Open the list of files to diff.
2) Begin the file diff via Ctrl-D
3) Navigate the file via F7 and Shift-F7

... but then, I need to click the OS X red button to close the diff window.  There is no shortcut to close the window. Command-W (or the options I've tried in the Keymap table) doesn't appear work.  

This doesn't seen optimal given there is a shortcut to open the same window.  https://devnet.jetbrains.com/message/5522041 appears to point to an issue with a similar window.

Any chance this might make it into an upcoming release?

Thanks!

2
Avatar
Permanently deleted user

For Linux and Windows the escape key works (ESC). Does it not work in mac os?

0

For mac it's Command + W.

0

No Command-W doesn't work

0

John Robens
Are you sure that you have macOS keymap specified under Preferences | Keymap?

0

Esc works on the old version(I don't remeber the version number), but now it failed(WebStorm 2021.3.3).

0

swen What keymap do you use?

0

Ruslan Kuleshov mac os x copy, and ideavim 

0

swen could you please share your steps to reproduce?

0

I have the same problem, there have some other item have the same hotkey, and that item has higher priority. 

0

Now esc works.

If you want to close the floating (active) window,

then you can use shortcut for close active tab, which is set `control + shift + f4`

I just add new shortcut `cmd + w` for that.

0

请先登录再写评论。