Install from Jetbrains plugin repositories
Install the plugin then simply enable the sparkling in Preferences > Appearance > Power mode II
build.sbt
)sbt packageArtifactZip
PowerMode
is the settings instance which is used by PowerModeConfigurable
to populate the UI Settings dialog.
PowerModeConfigurableUI
manages the settings dialog to change the settings in PowerMode
.PowerMode
is stored/loaded by xml serializer and annotation magic by Intellij.PowerMode
starts up the SparkContainerManager
. The SparkContainerManager
creates a SparkContainer
for each
editor.SparkContainer
creates the ElementOfPower
(PowerSpark, PowerFlame
) and manages their animation and
lifecycle.ElementOfPower.valueFactor
to simulate this heatup.
ElementOfPower.valueFactor
is composed of heatupFactor
(how much of all animation doesn't depend on heatup)
and timeFactor
(how much heatup do we currently have).keyStrokesPerMinute
and the amount of keystrokes within heatupTime
.