VS Code Extensions
Caseflip

Caseflip

by SnehalPancholi

Convert selected text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, and Title Case.

Downloads

1

Rating

(0)

Version

0.1.0

Last updated

Jun 17, 2026

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 camelCasefooBar
  • To PascalCaseFooBar
  • To snake_casefoo_bar
  • To kebab-casefoo-bar
  • To CONSTANT_CASEFOO_BAR
  • To Title CaseFoo 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

  1. Select the text (or place the cursor on a word).
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. 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.

Related extensions