{"id":26615,"date":"2019-09-16T16:56:42","date_gmt":"2019-09-16T20:56:42","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=26615"},"modified":"2019-09-16T16:56:42","modified_gmt":"2019-09-16T20:56:42","slug":"faster-xcode-rename-refactoring","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/09\/16\/faster-xcode-rename-refactoring\/","title":{"rendered":"Faster Xcode Rename Refactoring"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/dmartincy\/status\/1173289543124029440\">Daniel Mart&iacute;n<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/dmartincy\/status\/1173289543124029440\">\n<p>Tip: If you use the rename refactoring in Xcode a lot, you can save some time by skipping the code folding animation:<\/p>\n<pre>defaults write com.apple.dt.Xcode CodeFoldingAnimationSpeed -int 0<\/pre>\n<\/blockquote>\n<p>I&rsquo;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&rsquo;m going to start trying it again.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/08\/15\/global-mac-defaults-and-hidden-preferences\/\">Global Mac Defaults and Hidden Preferences<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Daniel Mart&iacute;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 com.apple.dt.Xcode CodeFoldingAnimationSpeed -int 0 I&rsquo;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-09-16T20:56:46Z","apple_news_api_id":"133a2738-701e-4395-bfbb-0a65c8b62b4f","apple_news_api_modified_at":"2019-09-16T20:56:47Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AEzonOHAeQ5W_uwplyLYrTw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[649,30,1609,71,226],"class_list":["post-26615","post","type-post","status-publish","format-standard","hentry","category-technology","tag-esoteric-preferences","tag-mac","tag-macos-10-14","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/26615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=26615"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/26615\/revisions"}],"predecessor-version":[{"id":26616,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/26615\/revisions\/26616"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=26615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=26615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=26615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}