# Add toggle case command \(\#28415\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 31034f8296e47a03de8bfd5bbab1d246b312db2c

Requested commit: 31034f8296e47a03de8bfd5bbab1d246b312db2c

Commit: 31034f8296e47a03de8bfd5bbab1d246b312db2c

Tree: c3353b1d50f3e187c008c0e98d32afc3491fc348

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Add toggle case command (#28415)

A small addition for those coming from JetBrain's IDEs. A behavioral
detail: when any upper case character is detected, the command defaults
to toggling to lower case.

> Note that when you apply the toggle case action to the CamelCase name
format, IntelliJ IDEA converts the name to the lower case.


https://www.jetbrains.com/help/idea/working-with-source-code.html#edit_code_fragments

Release Notes:

- Added an `editor: toggle case` command. Use `cmd-shift-u` for macOS
and `ctrl-shift-u` for Linux, when using the `JetBrains` keymap.
```

## Parents

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

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