JoelBesada / activate-power-mode

Atom package - Activate POWER MODE to write your code in style.
MIT License
3.58k stars 423 forks source link

Feature request: Only activate power mode when ... #72

Open lajlev opened 8 years ago

lajlev commented 8 years ago

A colleague of mine suggested that it should only happen, when you type really fast. Other ideas to conditions could be:

Multiply commented 8 years ago

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.

lexcast commented 8 years ago

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.

jeffswt commented 7 years ago

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:

  1. This would be a lot easier to be coded
  2. activate-power-mode is on the top of the list of atom packages.
lexcast commented 7 years ago

The #264 provides a way to achieve this.