IDEA find and replace notes

partial replacement

Select Edit - Find - Replace, or use the shortcut key Ctrl+R

Pop up the search menu bar, for example, enter Spring, the current page will be highlighted

Enter the replacement content and click Replace All to complete the replacement of this page

If you want to replace a partial range, we click the Select Range button, and then select the range, the matching items in the range will be highlighted, and all can be replaced

 

global replacement

Select Edit---Find---Replace (A) in the file, or use the shortcut key of Ctrl+Shift+R

The global replacement page is as follows. We enter Spring, and all matching items will be displayed first. You can replace all of them here. It is recommended to use global replacement less

 

 

Description: Local search and global search and replace are similar

 

 

Guess you like

Origin blog.csdn.net/yunxiaobaobei/article/details/129595192