One keystroke. One log. No more typing
System.out.printlnby hand.
SoutBoy is an IntelliJ IDEA plugin inspired by the legendary Pip-Boy from Fallout. Place your cursor on any variable, press Ctrl+Alt+;, and it generates a formatted debug log — dropped right after the current statement, no matter how many lines it spans.
- Smart variable detection — works with selected text, cursor position, or walks back to find the nearest identifier
- Multiline statement support — inserts after the full statement, even chained calls like
.withClaim().sign(algorithm); - Block-aware insertion — logs inside
if,for,whileblocks instead of after them - Condition logging — when the cursor is on an
iforwhile, logs the condition expression - Class name & line number — auto-detected, no setup needed
- Indentation preserved — output always aligns with your code
// Cursor on: token
System.out.println("☢️ 42 ~ AuthService ~ token: " + token);
// Cursor on: if (!isValid)
System.out.println("☢️ 17 ~ UserService ~ !isValid: " + !isValid);
// Cursor on a multiline chain:
String token = JWT.create()
.withClaim("info", data)
.sign(algorithm);
// → log inserted after the semicolon ↑- Kotlin files — variable detection is limited in
.ktfiles. The plugin was built for Java and may not work as expected in Kotlin projects.
| Action | Shortcut |
|---|---|
| Generate log | Ctrl + Alt + ; |
- Open IntelliJ IDEA
- Go to Settings → Plugins → Marketplace
- Search for SoutBoy
- Click Install
- Download the latest
.zipfrom Releases - Go to Settings → Plugins → ⚙️ → Install Plugin from Disk
- Select the downloaded
.zip
git clone https://github.com/Pedro-Rbeiro/sout-boy.git
cd sout-boy
./gradlew buildPluginThe plugin zip will be in build/distributions/.
To run in a sandbox IDE:
./gradlew runIdePRs are welcome! Feel free to open an issue if you find a bug or have a feature idea.
Pedro Ribeiro github.com/Pedro-Rbeiro
MIT