Convert selected text between common identifier cases — without leaving the keyboard.
Caseflip normalises any selection into words first, then re-casts it, so it works no matter how the text was originally styled. fooBar, foo_bar, and Foo Bar all convert cleanly.
Features
- To camelCase —
fooBar - To PascalCase —
FooBar - To snake_case —
foo_bar - To kebab-case —
foo-bar - To CONSTANT_CASE —
FOO_BAR - To Title Case —
Foo Bar - Cycle Through Cases — repeatedly run to rotate a token through every style
Multi-cursor friendly: every selection is converted independently. With an empty selection, Caseflip converts the word under the cursor.
Usage
- Select the text (or place the cursor on a word).
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). - Run any Caseflip: command.
Smart boundary handling splits camelCase humps and acronym runs correctly — HTTPServer becomes http_server, not h_t_t_p_server.
Tips
Bind your most-used conversion to a keyboard shortcut via Preferences: Open Keyboard Shortcuts and searching for caseflip.
License
Licensed under the MIT License. See the LICENSE file included in this extension.