During my switchover from TextMate to ST2 I noticed a difference in the way Title Case is handled.
In TextMate, Text > Convert > To Titlecase changes:
this is an example of title case
to
This Is an Example of Title Case
In Sublime Text 2, Edit > Convert Case > Title Case changes:
this is an example of title case
to:
This Is An Example Of Title Case
This is an instance where TextMate yields better results. Per the Chicago Manual of Style, for example, the rule for titles all words to be capitalized except “articles (a, an, the), coordinating conjunctions (and, but, or, for, nor), and prepositions, regardless of length, are lowercased unless they are the first or last word of the title.” (source)
My request is for ST2’s title_case command to do this instead of indiscriminately capitalizing every word. A frequent scenario for us is when we’re handed content with headings in ALL CAPS. Converting them is currently a 2-step operation in ST2 – converting to Title Case, then editing the exceptions (above) by hand.
Thanks!