Skip to content

Replace Selections Preserving Case

Replaces selections while preserving the case of the source.

It shows an input dialog with a single line text field.

Example

Symbol Meaning
| Caret
[ ] Selection

Before

<div>
    [PascalCase]|
    [camelCase]|
    [snake_case]|
</div>

Action

  1. Execute the action
  2. Enter kebab-case
  3. Press Enter

After

<div>
    [KebabCase]|
    [kebabCase]|
    [kebab_case]|
</div>