# Add a jetbrains-like Toggle All Docks action \(\#40567\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1b43217c0541d717d4facda75df9304fa9d1e2aa)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1b43217c0541d717d4facda75df9304fa9d1e2aa

Requested commit: 1b43217c0541d717d4facda75df9304fa9d1e2aa

Commit: 1b43217c0541d717d4facda75df9304fa9d1e2aa

Tree: f22aacff15a3278c765e249b308f5a851c5b106d

Author: Adir Shemesh

Committer: GitHub

## Message

```
Add a jetbrains-like Toggle All Docks action (#40567)

The current Jetbrains keymap has `ctrl-shift-f12` set to
`CloseAllDocks`. On Jetbrains IDEs this hotkey actually toggles the
docks, which is very convenient: You press it once to hide all docks and
just focus on the code, and then you can press it again to toggle your
docks right back to how they were. Unlike `CloseAllDocks`, a toggle
means the editor needs to remember the previous docks state so this
necessitated some code changes.

Release Notes:

- Added a `Toggle All Docks` editor action and updated the keymaps to
use it
```

## Parents

- [1b6cde7032fea1ff38f885419ab4e79c4f8c3231](https://git.cafe/gitcafe/zed/commit/1b6cde7032fea1ff38f885419ab4e79c4f8c3231?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1b43217c0541d717d4facda75df9304fa9d1e2aa?format=markdown)
