Convert between cases.
The Plugin provides actions to convert to the following cases:
- snake_case
- dash-case
- camelCase
- PascalCase
- SCREAMING_SNAKE_CASE
- UPPER CASE
- lower case
- fLIP cASE
- Title Case
- Sentence case
- dot.case
How to use:
Select the text you want to convert and then invoke the desired action. There are multiple ways to do this:
- Use the menu bar: The actions of this plugin can be found in “Edit” > “Convert Case”
- Use the Find Action feature: Bring up the “Find Action” search dialog (default keyboard shortcut is Ctrl+Shift+A) and type the name of the desired convert action (or type “Convert Case” to see all actions). Tip: This search uses fuzzy matching so you can just type “camcas” for “Convert Case: camelCase”.
- Create a keyboard shortcut: Open Settings > Keymap and search for “Convert Case” and create a keyboard shortcut for the desired action.
You can configure how newlines should be treated: Go to "Settings" > "Tools" > "Case conversion". The setting "Treat newline as" has these two options:
- White space
- Treat newline like other whitespace (i.e. as a word separator)
- Record separator
- Treat newline as a record separator. This converts every line individually
Plugin icon by SVG Repo