Install from Jetbrains plugin repositories
Install the plugin then simply enable the sparkling in Preferences > Appearance > Power mode II
- Exploding falling sparks
- Editor shaking
- Flames
- Heatup based on typing speed. The more you type the more happens.
- Keyboard shortcut to toggle power mode [shift ctrl alt O]
- Choose particle colors and transparency within a color space
- Adjust particle velocity and gravitation
- Modify the animation frame rate
- Multi caret support
- Animation on caret movement
- Play music folder: volume based on heatup
- Play next song action: [shift ctrl alt M]
- Visualize bigger file editing with "BAM!"
- See your power level in the indicator box
- Customizable animation images
- Everything is configurable
- install scala intellij plugin
- import the sbt project (
build.sbt
) - follow the docs here
- create the plugin artifact
sbt packageArtifactZip
- install in intellij
PowerMode
is the settings instance which is used byPowerModeConfigurable
to populate the UI Settings dialog.PowerModeConfigurableUI
manages the settings dialog to change the settings inPowerMode
.PowerMode
is stored/loaded by xml serializer and annotation magic by Intellij.PowerMode
starts up theSparkContainerManager
. TheSparkContainerManager
creates aSparkContainer
for each editor.- The
SparkContainer
creates theElementOfPower
(PowerSpark, PowerFlame
) and manages their animation and lifecycle.
- heatup increases the lifetime and amount of Sparks and Flames over time. The most values are multiplied
with
ElementOfPower.valueFactor
to simulate this heatup.ElementOfPower.valueFactor
is composed ofheatupFactor
(how much of all animation doesn't depend on heatup) andtimeFactor
(how much heatup do we currently have). - The heatup itself is calculated by
keyStrokesPerMinute
and the amount of keystrokes withinheatupTime
.