Xcode refactoring that works
A head-slappingly-simple tweak
So.... Xcode refactoring commands. I always liked that they were there.
I tried using them a few times. Then I stopped. They seemed slow and didn't work well. They always prompted me about this snapshot thing. Which seemed redundant with git but what the hell I can be cautious when it comes to my editor. The prompt looked something like this:
So I said yes. Slooooow! Painful. Today I went back to use refactoring despite my previous experience. And just for the hell of it, I said no.
Totally different experience! All of a sudden, I don't get any more prompts when I go to refactor operations. Rename, extract method, etc. They're just fast and work well. And if you don't like the result, you can just do a normal undo.
How much time could I have saved by using these operations if I just knew to disable the stupid snapshotting functionality? A lot.
Now you know--just turn snapshotting off and rely on your normal editor's undo functionality combined with git. Which you trust more anyway.
Go forth and refactor with joy!
Manhattan mobile software engineer.