ChangeCase - Text Case Converter
A powerful VS Code extension that provides instant text case conversion with keyboard shortcuts. Transform selected text between different naming conventions commonly used in programming and writing.
Created by Kabir Singh Sidhu | Portfolio
✨ Features
ChangeCase offers six different text transformation modes:
- UPPERCASE - Convert text to ALL CAPS
- lowercase - Convert text to all lowercase
- Title Case - Convert Text To Title Case Format
- camelCase - Convert text to camelCase (commonly used in JavaScript)
- snake_case - Convert text to snake_case (commonly used in Python)
- CONSTANT_CASE - Convert text to CONSTANT_CASE (for constants and environment variables)
Smart Conversion
- Preserves existing formatting where appropriate
- Handles mixed input formats intelligently
- Works with single words, phrases, and multi-line selections
- Supports special characters and numbers
🚀 Usage
- Select text in your editor
- Use one of the keyboard shortcuts or command palette
- Watch your text transform instantly!
Keyboard Shortcuts
Windows/Linux:
Ctrl+Shift+U
- Convert to UPPERCASE
Ctrl+Shift+L
- Convert to lowercase
Ctrl+Shift+T
- Convert to Title Case
Ctrl+Shift+C
- Convert to camelCase
Ctrl+Shift+S
- Convert to snake_case
Ctrl+Shift+K
- Convert to CONSTANT_CASE
macOS:
Cmd+Shift+U
- Convert to UPPERCASE
Cmd+Shift+L
- Convert to lowercase
Cmd+Shift+T
- Convert to Title Case
Cmd+Shift+C
- Convert to camelCase
Cmd+Shift+S
- Convert to snake_case
Cmd+Shift+K
- Convert to CONSTANT_CASE
Command Palette
You can also access all commands through the VS Code Command Palette (Ctrl+Shift+P
/ Cmd+Shift+P
):
Convert to UPPERCASE
Convert to lowercase
Convert to Title Case
Convert to camelCase
Convert to snake_case
Convert to CONSTANT_CASE
📝 Examples
Input |
Output |
Conversion |
hello world |
HELLO WORLD |
UPPERCASE |
HELLO WORLD |
hello world |
lowercase |
hello world |
Hello World |
Title Case |
hello world |
helloWorld |
camelCase |
hello world |
hello_world |
snake_case |
hello world |
HELLO_WORLD |
CONSTANT_CASE |
UserAccount |
userAccount |
camelCase |
getUserName |
get_user_name |
snake_case |
🛠️ Requirements
- VS Code version 1.104.0 or higher
- No additional dependencies required
⚙️ Installation
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X
/ Cmd+Shift+X
)
- Search for "ChangeCase"
- Click Install
- Start converting text with keyboard shortcuts!
🎯 Use Cases
Perfect for developers working with:
- JavaScript/TypeScript - Convert between camelCase and other formats
- Python - Convert to snake_case conventions
- Constants - Create CONSTANT_CASE for environment variables
- Documentation - Format text in Title Case
- General text editing - Quick case conversions
🤝 Contributing
Found a bug or have a feature request? I'd love to hear from you!
- Visit my portfolio: kabirsidhu.dev
- Report issues on the GitHub repository
- Suggestions and feedback are always welcome
📜 License
MIT License - feel free to use and modify as needed.
🙏 Acknowledgments
Built with ❤️ by Kabir Singh Sidhu for the VS Code community.
Enjoy using ChangeCase! 🚀
If you find this extension helpful, please consider leaving a review and sharing it with your fellow developers!
Enjoy!