Find and Replace in the entire project

In TwinCAT you can search for strings in individual objects or the entire project and replace them with another string, as required.

1. In the menu Edit > Find and Replace enable the command Quick Find.
The Find and Replace dialog opens.
2. Enter the required string in the Find what field.
3. In the Find in selection list, specify the objects to be searched.
4. Select the search options.
5. Select the result options.
6. Click Find Next.
The first hit is displayed in the editor.
7. Click Find all to obtain an overview of all hits.
The Search results screen opens, showing a list of the hits.
8. Click on Replace in files to replace the search string with another string.
9. In the field Replace with enter the string to replace the original string.
10. Click Replace.
11. Click Replace All to replace all strings.

See also: