Monday, September 16, 2019

Faster Xcode Rename Refactoring

Daniel Martín:

Tip: If you use the rename refactoring in Xcode a lot, you can save some time by skipping the code folding animation:

defaults write CodeFoldingAnimationSpeed -int 0

I’ve tended to do it manually with Find/Replace, both because the animation was so annoying and because the refactoring would often fail with an error or not actually find all the occurrences. With this default and Xcode 11, I’m going to start trying it again.


1 Comment RSS · Twitter

Even when it works, you should do a "find" afterwards to fix up comments. As such, I generally just use find.

Leave a Comment