IntelliJ: How to auto-highlight variables like in Eclipse January 6, 2023 by Tarik File | Settings (Preferences on Mac) | Editor | General | Highlight usages of element at caret.