Sublime Text plugin for converting between cases:
lower sentence caseTitle Sentence CaseUPPER SENTENCE CASElowerCamelCaseTitleCamelCaselower_snake_caseTitle_snake_saseUPPER_SNAKE_CASElower-kebab-caseTitle-Kebab-CaseUPPER-KEBAB-CASE- lower initials:
li - upper initials:
UI
Navigate to Sublime's Packages folder:
menu -> Preferences -> Browse Packages
On MacOS, this is usually:
"/Users/<user>/Library/Application Support/Sublime Text 3/Packages"
Clone or download the repo into the Packages folder.
- Select a few words
- Open the Command Palette via
⌘⇪Por^⇪P - Type "caser"
- Pick one of the commands
- Enjoy!
To avoid conflicts, Caser doesn't define any hotkeys. To define a hotkey:
- open menu → Preferences → Key Bindings
- insert something like the following:
{
"keys": ["ctrl+shift+c"],
"command": "caser_lower_camel_case"
}See the sublime-caser.sublime-commands file for the available command names.
I'm receptive to suggestions. If this tool almost satisfies you but needs changes, open an issue or chat me up. Contacts: https://mitranim.com/#contacts