Git Product home page Git Product logo

vscode-power-mode's Introduction

DEPRECATED

Get the original, since @hooverjc has all the same fixes I have, but none of the issues. Smart guy that one :P

Original description:

VSCODE POWER MODE!!!

Power Mode is one of the most requested extensions for VS Code. Unfortunatley, they said it couldn't be done...

not-implementable

However, after seeing this list and realizing that VS Code was the only modern editor without it, I knew I had to try. I couldn't let VS Code live in the shadow of its big brother or Atom.

I present you, VSCODE POWER MODE!!!

demo

To enable, add "powermode.enabled": true to your settings.

Features:

  • A combo counter
  • A timer that shows how long until your combo expires
  • Awful explosion gifs and screen shake effect when power mode is reached
  • Configuration for:
    • Combo timeout
    • The Power Mode combo threshold
    • Choose your own explosions with base64 encoded gifs or full urls
    • Disable explosions
    • Disable shake
    • Set shake intensity

Known Issues:

This is an experiment and may not perform well.

They were right when they said it can't be done. At least not properly. VS Code does not expose the DOM as part of the API. Instead this extension relies on using TextEditorDecorations to set css properties for ranges in the editor. This has a few limitations:

  • The cursor doesn't move with the text as it shakes
  • I have to use gifs instead of CSS animations for the particles/explosions
  • I am not an artist, so I am using free gifs I found online
  • The explosions are limited to size of the letters themselves. Increasing line-height or letter-spacing might help make the explosions more visible.

Help Wanted:

If you can provide some lightweight, more attractive gifs that improve how power mode looks and performs, I would be happy to include them!

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.