# settings_ui: Add "Edit in settings.json" button to subpage header \(\#42886\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bb46bc167ad3a8d6f51bd0255dcb46df78a7c6f1

Requested commit: bb46bc167ad3a8d6f51bd0255dcb46df78a7c6f1

Commit: bb46bc167ad3a8d6f51bd0255dcb46df78a7c6f1

Tree: e0f40fe883263507c30f1fc04e73f649e4e4a2a3

Author: Danilo Leal

Committer: GitHub

## Message

```
settings_ui: Add "Edit in settings.json" button to subpage header (#42886)

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

This will make it consistent with the regular/main page. Also ended up
fixing a bug along the way where this button wouldn't work for subpage
items.

Release Notes:

- settings ui: Fixed a bug where the "Edit in settings.json" wouldn't
work for subpages like all the Language pages.
```

## Parents

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

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