This plugin adds additional case modifications to Sublime Text 2. Note that this plugin modifies the case of text delimited by whitespace.
Note with either method, you may need to restart Sublime Text 2 for the plugin to load.
Installation through package control is recommended. It will handle updating your packages as they become available. To install, do the following.
- In the Command Palette, enter
Package Control: Add Repository
- Enter the following URL into the input box:
https://github.com/skuroda/ChangeCase
- In the Command Palette, enter
Package Control: Install Package
- Search for
ChangeCase
Clone or copy this repository into the packages directory. Ensure it is placed in a folder named ChangeCase
. By default, the Packages directories are located at:
- OS X: ~/Library/Application Support/Sublime Text 2/Packages/
- Windows: %APPDATA%/Roaming/Sublime Text 2/Packages/
- Linux: ~/.config/sublime-text-2/Packages/
By default all commands are accessible through the command palette. All commands appear as ChangeCase: <Command>
The title case command will capitilize the first character of each word that does not appear in the ignore list. In addition, both parts of hyphenated word will be capitalized (ex. hello-world
will become Hello-World
).
title_case_ignore
:
An array containing words to ignore in the title case command.