Sublime Forum

Correct TWo INitial Capitals

#1

I am seeking to autocorrect text in place where the first two letters are capitalized rather than just the first. There is an autocorrect option in MS Word that does this: is here something like that for sublime by way of a package or change in config?

Relatedly, is there a fix-as-you-go spell check option that corrects words as you type?

0 Likes

#2

No, that is not possible in ST. ST does provide a TextChangeListener API that helps plugins to do stuff when text changes, but there is no spell check API that could be used to do it on the fly.

0 Likes

#3

Thank you for the information. I assume that an alternative approach would be to run a macro – perhaps whenever the file is saved – that would do a query replace for those sort of corrections.

0 Likes