rgrinberg
rgrinberg

Reputation: 9878

Keyboard shortcut to close documentation?

Is there a keyboard shortcut that closes a documentation window opened with Ctrl+q? The ESC key doesn't seem to work and googling was not successful for me either. I'm on OSX with the cross platform keyboard map if that's any help.

Upvotes: 10

Views: 1250

Answers (5)

gerardnico
gerardnico

Reputation: 1073

I had click on the pin because I didn't want a pop-up behavior. Then it's true that Shift-Escape doesn't do the trick (as stated in the windows) but you may use Alt+F4 by following the below Fix.

A Fix if you don't want a pop-up behavior but a windows behavior (Alt+F4 to close)

In the Upper right,

  1. Pin the windows by clicking on the Pin button
  2. Click the gear icon and select "Windowed Mode"
  3. Then Click the well-known Alt+F4 to close the windows.

Windowed Mode

Upvotes: 1

Artem Larin
Artem Larin

Reputation: 162

Sure, Shift-Esc is a helpful trick, but it does not solve the problem itself. The problem is that the Documentation tool window is presented on the tool window bar. In order to close it, press Ctrl+Q 3 times (until the Documentation tool window disapears from the tool window bar). After that, Ctrl+Q will work as before.

Upvotes: 1

qed
qed

Reputation: 23104

Just uncheck pin mode icon (upper right corner):

enter image description here

And then the doc window becomes a popup:

enter image description here

Then you can press Esc to dismiss it.

Upvotes: 3

jmbeck
jmbeck

Reputation: 958

The Problem

As I stated in a comment,

I just started using IntelliJ, and ESC worked for about 1 week. Then I changed something, and ended up requiring Shift-ESC. Annoying! I can't figure out what I changed.

I finally figured out why ESC stopped working. After an initial install of IntelliJ, the dialog is considered a "popup". If you open this popup with Ctrl+Q, and then click the pin icon at the upper right, it turns the popup into a normal dialog. This dialog behaves like the other views, which are dismissed with Shift+ESC.

The Fix

To restore the popup behavior, click the gear icon (upper right) and make sure "Show Toolbar" is checked. Click the big red X icon. This returns it to popup mode.

My life just got way better.

Upvotes: 27

Corby Page
Corby Page

Reputation: 1405

Shift-Escape should do the trick

Upvotes: 11

Related Questions