# Add Editor Controls Menu to Tool Bar \(\#10655\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e93d55472570b85097f33024a126e1e1fb2d824b

Requested commit: e93d55472570b85097f33024a126e1e1fb2d824b

Commit: e93d55472570b85097f33024a126e1e1fb2d824b

Tree: b4500c86a047365c11d52c64355c2a91a1ca8c48

Author: Nate Butler

Committer: GitHub

## Message

```
Add Editor Controls Menu to Tool Bar (#10655)

This PR adds an editor controls menu to the tool bar. This menu will be
used to contain controls that toggle visual features in the editor, like
toggling inlay hints, showing git status or blame, hiding the gutter,
hiding or showing elements in the tool bar, etc.

For the moment, this consolidates the new Inline Git Blame toggle and
the old Inlay Hints toggle. In the future it will contain additional
controls.

Before: 

![CleanShot - 2024-04-16 at 16 38
53@2x](https://github.com/zed-industries/zed/assets/1714999/249e353f-786a-4391-8d49-66dd61feff8a)

After:

![CleanShot - 2024-04-16 at 16 38
43@2x](https://github.com/zed-industries/zed/assets/1714999/5b3cf4d5-855a-4475-ac05-8474b6c94b7b)

---

Release Notes:

- Added an editor controls menu to the tool bar. This will contain
visual, editor-specific options like toggling inlay hints, showing git
status or blame, etc.
- Removed the top level inlay hint toggle from the tool bar due to the
above change.
- Added the ability to toggle inline git blame from the new editor
controls menu.

---------

Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
```

## Parents

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

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