mattstevens / sublime-titlecase

Smarter title casing for Sublime Text
21 stars 5 forks source link

Country Name not completely capitalized #2

Open rherring opened 9 years ago

rherring commented 9 years ago

US, U.S., USA, and U.S.A. should all be completely capital due to being the abbreviated name of the country. I was wondering if that could be fixed for the next update.

Also, would it be possible to create a "Custom Dictionary" so that users can create a list of proper names or business names that might not follow a norm. That way Smarter Title Case could do a complete check, then check the custom dictionary and fix any special Names that may be highlighted.

Thanks.

jpcirrus commented 4 years ago

If you replace ./titlecase/__init__.py with an updated version of the original from https://github.com/ppannuto/python-titlecase/tree/master/titlecase then any existing capitalised words in a selection with one or more non-capitalised words are preserved.