Searching and replace text in the code editor Click in the editor. Click Search on the toolbar above the code editor or press CTRL + F on your keyboard. The search bar is displayed. Click the > icon to enable the replace functionality. Specify the text to search for and the text to replace it with. Click Replace All or press CTRL+ALT+ENTER on your keyboard to replace all matches in the code.