Is there anyway to search an entire solution for just a single line of code, or even a single word?
Answered
For example, I'd like to know all of the places in my code where I use player prefs, so is there anyway to search for just "PlayerPrefs"?
Please sign in to leave a comment.
Hello Sean, you can try Search Everywhere Symbol Search or Find in Path functionality. Please let me know if that helps.
No, that did not return all of the places in my code where I use player prefs.
Could you please give an example, like where you have it in code and search cannot find it?
If you look at the below screenshot, you'll see that I searched "PlayerPrefs", and even though it's written on line 26, it does not appear in my search results.
Seanfkh, in this case Search shows only type or type member, but you can try calling Find Usages for this PlayerPref. I beg your pardon for misunderstanding.
No, that is not what I'm trying to do. I'm not looking for all of the usages of that particular PlayerPref. I'm looking for all parts of my code that use PlayerPrefs.
Have you tried Find in Path functionality I mentioned earlier by the way? It searches the text all over the solution(or other scope you choose), for example, this is how it looks like in my lab.
Yes, that solved it perfectly. Thank you very much.