Home Download Buy Blog Forum Support

Tip of the Moment

Tip of the Moment

Postby jps on Fri Mar 28, 2008 1:43 am

This one's not quite as obscure as the key binding options, but it is really easy to miss.

When doing a find and replace, Sublime has the option to preserve the case of the text you're replacing, for instance, if you have:

Code: Select all
Foo getFoo() { return m_foo; }
void setFoo(Foo foo) { m_foo = foo; }


And really need to turn your Foo into a Bar, then you can set the 'Preserve Case' option in the replace panel (bottom left), and your Foos will become Bars and foos will be bars.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 29 guests