CaseChanger is a Visual Studio Code extension that allows you to quickly convert text between different case styles. With CaseChanger, you can easily switch between snake_case, camelCase, PascalCase, and kebab-case formats, making it convenient when working with different naming conventions in your code.
Convert text selections or entire documents to various case styles.
Supports snake_case, camelCase, PascalCase, and kebab-case.
Configurable keyboard shortcuts for quick conversions.
Context menu to change case when text selected
Launch Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X).
Search for "CaseChanger" by "jerky676".
Click on the "Install" button to install the extension.
Restart Visual Studio Code (if required).
Select the text you want to convert or place the cursor within the word you want to change.
Right-click and choose "Change Case" from the context menu, or use the keyboard shortcut.
Select the desired case style from the options provided.
The selected text or word will be converted to the chosen case style.
You can customize the keyboard shortcuts used by CaseChanger by following these steps:
Open the Keyboard Shortcuts editor in Visual Studio Code (File > Preferences > Keyboard Shortcuts or Ctrl+K Ctrl+S).
Search for "casechanger.convertCase" in the search bar.
Click on the pencil icon to the left of the shortcut you want to change.
Enter your preferred keyboard shortcut combination.
Save the changes.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.