Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Shift CaseNew to Visual Studio Code? Get it now.
Shift Case

Shift Case

BitByAndy

|
2 installs
| (0) | Free
Toggle selected text between UPPERCASE and lowercase with a single keybinding
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Shift Case

A VS Code extension that toggles selected text between UPPERCASE and lowercase.

Shift Case demo

Features

Press Shift+Alt+U (or run Toggle Case from the Command Palette) to switch between cases. Select text first, or just put the cursor in a word and the word is toggled and selected.

  • All-uppercase text → lowercase
  • Everything else (lowercase or mixed case) → UPPERCASE
  • Works with multiple cursors / multiple selections; one undo reverts them all
  • With no selection, toggles the word under the cursor (using the language's own definition of a word)
  • Works in VS Code for the Web (vscode.dev, github.dev) as well as the desktop editor

Usage

  1. Select the text you want to change, or place the cursor in a word
  2. Press Shift+Alt+U — or open the Command Palette and run Toggle Case

Extension Settings

This extension has no configurable settings.

Release Notes

0.0.2

Declared the activation event explicitly and added a demo GIF to the README.

0.0.1

Initial release — toggle case command with keybinding and multi-cursor support.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft