Usually, a IDE will have some form of tool that automates this process.
For example, if you are using JetBrains IDEA as your IDE, follow theses steps:
- Press Ctrl+Shift+H or select Edit | Find | Replace in Path from the main menu.
- In the Replace In Path dialog, specify the search and replace strings, search options, and the scope.
- Click Replace All to replace all matching occurrences or Replace to replace items one by one.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…