I search text in Android Studio, you can see Image A
I find the search result includes auto-generation code such as LayoutHomeBindingImpl
I hope to exclude search result from auto-generation code, how can I do?
Image A

I search text in Android Studio, you can see Image A
I find the search result includes auto-generation code such as LayoutHomeBindingImpl
I hope to exclude search result from auto-generation code, how can I do?
Image A

Follow these steps to directly achieve the goal:
1. Press Ctrl + Shift + F to open Find in Path window, then go to Scope tab:

2. Click on ... options button:

3. Click on + then Local to add a new scope:

4. Choose a name for it and press OK:

5. In Pattern box, put !file:*/generated//*, then press Apply and OK:

6. Now, all generated source codes are excluded in the result of Find in Path:
