STS (eclipse) batch modify a certain content in the file

       In STS or Eclipse, sometimes you need to modify the corresponding content in batches. For example, if you change the demo of all files in the related project to test, you can do it in the following way.

1. First, search for the demo under the corresponding project, as shown in the figure below:

 

2. Search out the content, as follows:

 

3. To search for multiple contents above, you can press the right button according to the item to display the following interface

4. Click the red part above, and the interface below will appear, and you can modify it to your own content according to your needs

 After confirming in this way, all the selected items that are searched out are modified in batches.

Guess you like

Origin blog.csdn.net/qq_40032778/article/details/132296430