i need to search for initialization of classes by name, the project is big, and i want to use regex to find the instances inside the intellij idea . Here is a list of classes name:
BdService
BdClusterService
BdServiceClient
BdClusterServiceClient
BdServicesManager
BdServiceClientsManager
I need an advice and regexs also, but maybe you know the proper way to find the initialization of this classes?
To match a character having special meaning in regex, you need to use a escape sequence prefix with a backslash ( \ ). E.g., \. matches "." ; regex \+ matches "+" ; and regex \( matches "(" . You also need to use regex \\ to match "\" (back-slash).
From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . IntelliJ IDEA places the highlighted string into the search field.
You can try Find in Files (ctrl-shift-f
):
Bd[a-zA-z]*Service
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With