# Reveal all go to definitions in the center by default \(\#54778\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e483c3e1de6306a1588db484577150ea60893152

Requested commit: e483c3e1de6306a1588db484577150ea60893152

Commit: e483c3e1de6306a1588db484577150ea60893152

Tree: 0760255d0c8a279f9c92718022824c1335a18cca

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Reveal all go to definitions in the center by default (#54778)

Allows to reconfigure behavior, including the previous one, `top`

Closes https://github.com/zed-industries/zed/issues/52173

Release Notes:

- Reworked go to definition to open its target in the center of the
editor. Can be reconfigured with `go_to_definition_scroll_strategy`.
```

## Parents

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

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