Smart Code Screenshots is a plugin for IntelliJ IDEA that lets you quickly create beautiful screenshots of selected code directly from the editor.
- Create screenshots of selected code with syntax highlighting and formatting
- Copy screenshots to clipboard with a single command
- Save screenshots as PNG files
- Quick access via editor context menu and keyboard shortcut
- Customizable watermark with support for horizontal or diagonal placement
- Select the code fragment you want in the editor.
- Right-click and choose Screenshot Selected Code or use the shortcut Ctrl+Shift+S.
- The screenshot will be copied to your clipboard. You can also save it as a file via the notification popup.
- From Marketplace: search for "Smart Code Screenshots" in IntelliJ IDEA plugins.
- Or build manually:
- Clone the repository
- Run
./gradlew build - Install the JAR from
build/libsvia Settings → Plugins → Install plugin from disk...
- IntelliJ IDEA 2022.3 or newer
- JDK 17+
You can customize plugin settings in Settings → Tools → Smart Code Screenshots
- Report bugs and suggest features via Issues
- Pull requests are welcome!
Author: anton-erofeev