This plugin brings sloppy focus to your favorite IDE.
Sloppy focus, sometimes called "focus follows mouse", means your focus switches whenever your cursor enters a focusable region. This plugin enables this behavior for editors and terminals, and, optionally, for any focusable IDE component.
By default, Sloppy Focus will switch focus to terminals and editors when entering with the mouse. This behavior can be changed through settings to switch focus to any focusable component.
Note: This plugin is still in a very early phase. It 'works on my machine', but has not yet seen much use and has not been tested properly. There will be bugs and rough edges. Please feel free to create bug reports for usability or compatibility issues.
This plugin is provided both as a regular IDE plugin, and as a Flora micro-plugin script. The Flora plugin currently only supports editors, and will likely not be updated anymore unless I figure out an easy way to bundle the main plugin.
Settings/Preferences > Plugins > Marketplace > Search for "ij-sloppy-focus" > Install Plugin
Or click the Install to IntelliJ button on the plugin page.
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Using Flora
Download the latest version of sloppy-focus.plugin.kts from
the releases page and place it in your project's .plugins
folder. Flora should pick it up automatically.