Case-changing tools for Sublime Text 2 & 3
- add the repository to your package control via "Package Control: Add Repository"
- install the package via "Package Control: Install Package'
- select "Sublime Caser"
- Linux: ctrl+c,ctrl+[COMMAND]
- Windows: ctrl+c,ctrl+[COMMAND]
- OS X: ctrl+c,ctrl+[COMMAND]
Commands:
s
: snake_casec
: CamelCased
: downcaseu
: UPCASEt
: Capitalize Each Word (Titleize)w
: split into words -- splits the snake_separator (_
) into multiple words
If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to change whole file.
use_entire_file_if_no_selection
- if set, selecting no regions is the same as selecting the whole file.omit_comments
- if set, comment blocks will not be modified.word_separator
- for "split into words". defaults to ' 'snake_separator
for snake_case and split into words. defaults to '_'