activate-power-mode icon indicating copy to clipboard operation
activate-power-mode copied to clipboard

Feature request: Only activate power mode when ...

Open lajlev opened this issue 9 years ago • 4 comments

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

lajlev avatar Dec 04 '15 10:12 lajlev

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.

Multiply avatar Dec 04 '15 10:12 Multiply

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.

lexcast avatar Aug 05 '16 00:08 lexcast

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.

jeffswt avatar Nov 07 '16 15:11 jeffswt

The #264 provides a way to achieve this.

lexcast avatar Apr 17 '17 05:04 lexcast