Adaptive Caret Scroll is an IntelliJ IDEA plugin that enhances the editor's scrolling behavior by maintaining a user-defined distance from the caret to the top and bottom edges of the editor. The plugin aims to improve code readability and the overall coding experience by optimizing the visible area around the caret. This project is implemented in Kotlin and uses the IntelliJ SDK.
- Auto-scrolling that adjusts the editor's visible area based on the caret's position
- Configurable top and bottom padding settings
- Enable centered scroll mode to let caret always stay at the center of the editor
- Immediate integration with any newly-opened or existing editor instances within the IDE
- Always centered feature
- Disable checkbox setting
- Download the
.zip
file from the GitHub releases. - Open IntelliJ IDEA, go to
File > Settings > Plugins
. - Click
Install Plugin from Disk
and select the downloaded.zip
file.
Or install it directly from IntelliJ's Plugin Marketplace.
- Go to
File > Settings > Adaptive Caret Scroll
. - Configure the distance from the top and bottom edges that you prefer.
- Click
Apply
.
Once installed and configured, the plugin will automatically adjust the editor's scrolling behavior based on the configured settings and the caret's current position.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This plugin is inspired by the Vim set so=15
setting, which serves a similar function in the Vim editor.
This README provides all essential details about the project, allowing both users and potential contributors to understand its functionality and architecture.