# Add \`editor: convert to sentence case\` \(\#35015\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 913b9296d755d88a85ac6fad2d57f6c1e5d7cef6

Requested commit: 913b9296d755d88a85ac6fad2d57f6c1e5d7cef6

Commit: 913b9296d755d88a85ac6fad2d57f6c1e5d7cef6

Tree: 2075fe7a8f3eb470ae558313745f74b0559172f0

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Add `editor: convert to sentence case` (#35015)

This PR adds an `editor: convert to sentence case` action.

I frequently find myself copying branch names and then removing the
hyphens and ensuring the first letter is capitalized, and then using the
result text for the commit message.

For example:

<img width="927" height="482" alt="image"
src="https://github.com/user-attachments/assets/adf14a37-a92e-44df-8c0e-267b5c7677fb"
/>

You can achieve this with a combination of other text manipulation
commands, but this action makes it even easier.

Also, moved `toggle_case` down into the area where all other commands
internally using `manipulate_text` are located.

Release Notes:

- Added `editor: convert to sentence case`
```

## Parents

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

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