Hippie completion in IntelliJ
See the documentation. To quote:
Hippie completion is a completion engine that analyses your text in the visible scope and generates suggestions from the current context. It helps you complete any word from any of the currently opened files.
When using that documentation page, notice that the page is set to show keyboard shortcuts for one particular platform. To switch platforms, use the Shortcuts pop-up menu in the bar at upper-right corner of the window.
macOS
- Press
⌥ /
or choose Code | Code Completion | Cyclic Expand Word
to search for matching words before the caret.
- Press
⌥ ⇧ /
or choose Code | Code Completion | Cyclic Expand Word (Backward)
to search for matching words after the caret and in other open files.
Windows OS
- Press
Alt+/
or choose Code | Code Completion | Cyclic Expand Word
to search for matching words before the caret.
- Press
Alt+Shift+/
or choose Code | Code Completion | Cyclic Expand Word (Backward)
to search for matching words after the caret and in other open files.