Install this plugin through the Plugin Manager.
- Get a Codcut token from the app: Your profile → Settings → Generate a token;
- Go to File → Settings → Codcut and set your token there;
- Highlight some code;
- Press
Ctrl + Alt + U
.
Big thanks to the scalafmt project and their Intellij plugin.