Specific use of IntelliJ idea global search and replacement

Time:2020-10-29

When making a project, sometimes the global search and replacement will be carried out in the whole project or under the specified folder, which is a very convenient function. The usage is as follows:

Software name:
IntelliJ idea 2020.2.2 flagship edition official Chinese official version (with installation tutorial)
Software size:
664MB
Update time:
2020-09-22Download now
Software name:
IntelliJ idea 2020.2.2 enhanced Chinese green flagship Version (with Chinese package + method)
Software size:
753MB
Update time:
2020-09-19Download now

Global search

Use the shortcut key Ctrl + Shift + F to quickly enter the global search page, or click Edit “find” find in path

1. What you want to search for;

2. How to match the content, which means case sensitive, single word, regular, filter search file respectively;

3. The search range refers to the search in the whole project, in the specified module, in the specified directory, and in the specified file range;

Global substitution

Press the shortcut key “Ctrl + Shift + R” or click “Edit” find “to replace in path

The options in the page are roughly the same as the global search page. After input, you can directly click Replace in find window.

be careful:

1. Sometimes the global Ctrl + Shift + F shortcut key is invalid. See if the shortcut key conflict of other software. For example, search the input method and remove them;

2. Sometimes the global search fails to find the specified content, but it should be. At this time, clear the cache in the file “invalid caches / restart”;

This article about the specific use of IntelliJ idea global search and replacement will be introduced here. For more related idea global search and replacement content, please search the previous articles of developeppaer or continue to browse the related articles below. I hope you can support developeppaer more in the future!