find text in all scripts

Hi all, 

Just trying to figure this out, is there a way to do a find through all scripts in your project? For example I was trying to find all of my editor scripts so I double tap shift and enter "CustomEditor", but nothing shows up in the results. Is there a way to do something like that?

Thanks,

Pete

0
2 comments

Hi Pete,

There are a few ways to find all Custom Editors in your Unity project:

  • Place a cursor on any CustomEditor attribute in any of your scripts and call "Find Usages" action (Alt+F7)
  • Look up CustomEditor class in "Search Everywhere" (Shift+Shift) with "All Places" scope, navigate to the class in the engine and call "Find Usages"
  • Search for CustomEditor using "Find in Files" (Ctrl+Shift+F) with the "Project" scope

The shortcuts used in the description are from the ReSharper keymap, if you are using a different keymap, please look up the corresponding shortcuts.

 

1

Thanks Kirill :)  That's perfect! 

0

Please sign in to leave a comment.