0

Does the XCode IDE have the ability to make multiple, simultaneous selections of a word within the file you have open (not the whole project) and then replace it with new text? And, I don't necessarily want to select all occurrences, say just the first 3 of 5 or whatever.

Basically, I'm coming from the wonderful world of Sublime Text, and in Sublime you can select any word, then simply press CMD+D and it will sequentially find then select subsequent findings of this word. Most importantly after you select the word multiple times, just by typing you will be replacing each selected word so you only have to type once.

The following question is the same as mine except that it's asking for a different IDE (Eclipse): eclipse multiple text selection like sublime text 2

Any way to do this using XCode 7beta or XCode 6?

Community
  • 1
  • 1
FireDragon
  • 9,325
  • 4
  • 27
  • 34

1 Answers1

0

I know that feeling coming from Sublime ^^ Look at this thread, they give some nice advices: Multiple cursors / highlight next instance of currently highlighted word

Especially this link: http://sohailk.com/posts/project-three.html

Community
  • 1
  • 1
Paul Slm
  • 403
  • 3
  • 11
  • This should be a comment, not an answer. You can always comment on your own posts, and once you have sufficient [reputation](http://stackoverflow.com/help/whats-reputation) you'll be able to [comment](http://stackoverflow.com/help/privileges/comment) on all posts. If a question seems to be a duplicate, then flag it as such. – MattDMo Sep 17 '15 at 02:47
  • @MattDMo apologies for posting a dupe question--I actually tried searching extensively and I just couldn't find the specific question I was asking for XCode vs. Sublime...maybe the words I was searching for were off. In any case, glad to have found an answer – FireDragon Sep 18 '15 at 03:12
  • @MattDMo noted, thanks for the help. – Paul Slm Sep 18 '15 at 06:41