Whole code replacement in CLion

Suddenly when I was typing the question, I found that the int type could not meet the question requirements, and I wanted to replace it with long long in batches.

Use the shortcut Ctrl + Shift + R (Windows/Linux) or Command + Shift + R (Mac) to open the "Find and Replace" dialog box.

Enter the code fragment you want to replace in the "Find" input box, and then enter the replaced code in the "Replace" input box.

Click the "Replace" button to replace each match individually, or click the "Replace All" button to replace all matches at once.

CLion searches and replaces code that meets the criteria throughout the project.

Please note that this replacement operation is for the entire project

Guess you like

Origin blog.csdn.net/weixin_62264287/article/details/132674331