The Text Case Converter extension for Visual Studio Code allows you to quickly convert the case of selected text within the editor. It provides commands to convert text to camel case, snake case, title case, lower case, and upper case formats.
Convert selected text to camel case
Convert selected text to snake case
Convert selected text to title case
Convert selected text to lower case
Convert selected text to upper case
This extension requires Visual Studio Code version 1.60.0 or higher.
Open Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
Search for "Text Case Converter".
Click Install to install the extension.
Click Reload to activate the extension.
Select the text within the editor that you want to convert.
Right-click on the selected text to open the context menu.
Choose the desired conversion option from the Text to submenu.
The selected text will be converted to the chosen case format.
Alternatively, you can use the following keyboard shortcuts:
Ctrl+Shift+P or Cmd+Shift+P to open the Command Palette.
Type "Convert Text Case" to filter the available commands.
Choose the desired conversion command to execute.
text-case-converter.camelCase: Convert selected text to camel case.
text-case-converter.snakeCase: Convert selected text to snake case.
text-case-converter.titleCase: Convert selected text to title case.
text-case-converter.lowerCase: Convert selected text to lower case.
text-case-converter.upperCase: Convert selected text to upper case.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository.