Giter VIP home page Giter VIP logo

power-mode-intellij-plugin's Introduction

Power Mode II Intellij plugin

Join the chat at https://gitter.im/baptistemesta/power-mode-intellij-plugin

Demo

Installation

Watch the Video

Install from Jetbrains plugin repositories

How to use

Install the plugin then simply enable the sparkling in Preferences > Appearance > Power mode II

Features

  • 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

Latest Release Download

Want to Donate a Beer?

Plugin Development Setup

1 install scala 2.11 and create a global scala SDK

2 download and install IntelliJ Community Edition

3 Add the Community Edition as global IntelliJ Platform Plugin SDK

Add the Community Edition as IntelliJ Platform Plugin SDK

4 Checkout power mode II Repository from github

5 Create a project from existing sources but dont import the default module or libraries.

Then create a plugin module in the project root folder (the Power Mode II repo folder. don't create a subfolder). Add the Scala SDK in Dependencies.

create a plugin project

create a plugin project

6 Add a plugin run configuration

Add a plugin run configuration

7 Press run button

This should start a new IntelliJ CE Instance with PowerMode II plugin installed and independent sandbox configuration.

8 Build the installable plugin zip file

Hit Build -> Prepare Plugin Module for Deployment

"Architecture"

  • 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.
  • The SparkContainer creates the ElementOfPower (PowerSpark, PowerFlame) and manages their animation and lifecycle.

heatup

  • 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 of heatupFactor (how much of all animation doesn't depend on heatup) and timeFactor (how much heatup do we currently have).
  • The heatup itself is calculated by keyStrokesPerMinute and the amount of keystrokes within heatupTime.

power-mode-intellij-plugin's People

Contributors

axaluss avatar baptistemesta avatar gitter-badger avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.