Select all Occurrences in a File

Quickly select all occurrences of a piece of text in the current file

Do you want to select all the occurrences of a piece of code?

Press ⌘⌃G (macOS) / Ctrl+Alt+Shift+J (Windows/Linux).

After the selection is complete, you can start editing all the fragments as if they were all the same one.

If you plan to use this feature to rename something, then you should have a look at our Rename refactoring, which is designed to work safely across multiple packages, not just at the file level, with full preview and undo support.


Related Resources

Compare With Clipboard
Compare With Clipboard
Compare text, files or directories and even use the clipboard contents.
Custom Structure Tags
Custom Structure Tags
Add custom tags to any fields from structures.
Speed Typing
Speed Typing
Quickly navigate to or filter any list of items in the IDE