开发者

Xcode 3.2 find and replace in selected text

开发者 https://www.devze.com 2022-12-10 03:19 出处:网络
Is it possible to find and replace in selected text in Snow Leopard Xcode 3.2? There always use to be an option 开发者_开发技巧for selected text. Really frustrating. Thanks.Yeah, but it\'s a lot less

Is it possible to find and replace in selected text in Snow Leopard Xcode 3.2? There always use to be an option 开发者_开发技巧for selected text. Really frustrating. Thanks.


Yeah, but it's a lot less obvious now. If you have the "Find" bar up, change the first dropdown menu to "Find & Replace". Then, if you hold option, the "Replace All" button turns into an "In Selection" button.


You can press Command+Ctrl+F to bring up directly the Find & Replace bar, and press Escape to remove it. I don't think there's anyway to activate the "Replace All" button using the keyboard, but then again there never was afaik.


In XCode 5 and earlier you can highlight a word and hit CMD+CTRL+E and then simply edit the word in line and it applies your edit to all occurrences of that word in the document.


Sometimes an image helps make things a little easier to grasp quickly. So this is to supplement the chosen answer.

Xcode 3.2 find and replace in selected text

Xcode 3.2 find and replace in selected text

And holding down Option:

Xcode 3.2 find and replace in selected text

0

精彩评论

暂无评论...
验证码 换一张
取 消