Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Find Selected Text in Workspace..." disabled in Xcode 4 context menu

Tags:

xcode4

This has been bugging me for a while. In Xcode 4, sometimes this menu item is enabled, sometimes it is disabled. I cannot figure out why it is ever disabled, and there seems to be nothing at all on Google about this.

like image 516
Nathanial Woolls Avatar asked Feb 24 '23 02:02

Nathanial Woolls


2 Answers

I have this same problem. If I click on the "Show assistant editor" button (the middle button in the list of Editor buttons located in the upper-right hand corner) and then back again to "Standard Editor" (the left-most button in the list of Editor buttons) then the "Find selected text in workspace..." function is enabled. But I have to do this often, but only in the projects I created before Xcode 4. So I think some setting in the project was not created properly when Xcode 4 converted it over.

like image 171
Ken Roy Avatar answered Apr 29 '23 10:04

Ken Roy


I have found if you just right click on the word, without selecting it prior, then the menu selection will be enabled. This seems to be more prevalent in xCode 4.4.1. I have also noticed that when you select other words will "trigger" the menu to enable also. Hope this helps.

like image 35
Brantleigh Bunting Avatar answered Apr 29 '23 09:04

Brantleigh Bunting