Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I exclude commented lines from searches in Xcode?

Tags:

xcode

xcode5

Is it possible to exclude commented lines (either individual, or groups) from searches in Xcode?

If so, how can this be done?

like image 763
SAHM Avatar asked Nov 26 '13 14:11

SAHM


1 Answers

No, you cannot exclude comment lines from Xcode search.

You can use "search scopes" to search more efficiently in Xcode:

Xcode search scopes

Reference by Apple docs:

The refined search navigator allows all current search options and settings to be seen at a glance. The options are easily manipulated by clicking directly on them in the search navigator. You can set search scopes, including selecting multiple folders in a project, and save them by name for easy re-use. The search results display wraps to allow you to see ore results easily and quickly.

like image 90
codercat Avatar answered Oct 13 '22 10:10

codercat