In Android Studio (IntelliJ), I know how to:
- Search everywhere for a string (not necessarily a symbol, could be in a comment).
- Search in a file for a regex (not necessarily a symbol, could be in a comment)
- Search everywhere for a "regexed" symbol.
But I have not been able to find a way to search for a non-symbol, regex, everywhere, style AstroGrep.
Is this at all possible in Android Studio version 2021.3?
CodePudding user response:
Go to the menu item Edit | Find | Find in Files
Ctrl/Cmd Shift F. In the dialog that appears you can enable regex search with the keyboard shortcut Alt X or use the mouse.
(At least that is how it works in IntelliJ IDEA. I assume it works the same in Android Studio)