# settings_ui: Improve case handling \(\#37342\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 970242480a156f89843454cc6bc69b2921a13794

Requested commit: 970242480a156f89843454cc6bc69b2921a13794

Commit: 970242480a156f89843454cc6bc69b2921a13794

Tree: b99900d689725bf350df4b49aa6dd0755d343c66

Author: Ben Kunkle

Committer: GitHub

## Message

```
settings_ui: Improve case handling (#37342)

Closes #ISSUE

Improves the derive macro for `SettingsUi` so that titles generated from
struct and field names are shown in title case, and toggle button groups
use title case for rendering, while using lower case/snake case in JSON

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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