activate-power-mode
activate-power-mode copied to clipboard
Feature request: Only activate power mode when ...
A colleague of mine suggested that it should only happen, when you type really fast. Other ideas to conditions could be:
- On autocomplete
- On save
- On syntax correct line of code is typed
Yeah, I'm that type of colleague :P
It feels so much more rewarding if it only happens if you do something 'good' like typing really fast.
I'm thinking on a combo mode with a rage bar, where other packages could call the power mode api, something like addToCounter(), when the counter reaches the limit, power mode will be active.
On the third implementation you need to collaborate with linter, and it must support "Lint-on-the-fly". Otherwise this would not be a performance-satisfying idea. Take linter-gcc for example, it compiles the code entirely while linting, which could be a huge waste of computer resources when you actually tries to check them in activate-power-mode. So I suggest putting this off the list.
By the way lexcast's idea was more likely to be implemented, since:
- This would be a lot easier to be coded
activate-power-modeis on the top of the list of atom packages.
The #264 provides a way to achieve this.