hoovercj / vscode-power-mode

Your code is powerful, unleash it! The extension made popular by Code in the Dark has finally made its way to VS Code.
MIT License
1.07k stars 87 forks source link

VSCODE POWER MODE!!!

Power Mode is one of the most requested extensions for VS Code. Unfortunately, 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!!! (now with atom-like explosions and an improved combo meter!)

demo

Features:

settings

Get started

Known Issues

They weren't completely wrong when they said it can't be done. 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:

Choose Your Explosions:

You can choose explosions with a single setting: powermode.presets. Check out the options below (note: it looks better IRL than in these gifs):

Particles (Default)

particles

Rift (Simple)

simple rift

Rift (Exploding)

exploding rift

Note: If your code becomes hard to read, you may need to set editor.lineHighlightBackground in your user or workspace settings. For example, if your theme is Default Dark+, try:

"editor.lineHighlightBackground": "#1E1E1EAA"

Fireworks

fireworks

Flames

flames

Magic

magic

Clippy

clippy

Advanced Settings:

Power Mode should work great right out of the box, but if it doesn't I've tried to make it as configurable as possible. Tweak the settings for performance or for fun. From doge to clippy, the only limit is your imagination. Some of the options are explained below:

Help Wanted:

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

Acknowledgements:

Changelog: