Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VSCode] Pause completion on battery (configurable) #1445

Open
wants to merge 2 commits into
base: preview
Choose a base branch
from

Conversation

sr-tream
Copy link
Contributor

@sr-tream sr-tream commented Jun 7, 2024

Description

image
image

This PR adds setting to pause tab autocompletion, when disconnected AC. This pause can be disabled by clicking on statusbar icon or trigger Toggle Autocomplete Enabled command.

When laptop on battery clicking on status bar switching status in cycle Disabled->Pause->Enabled

This setting is disabled by default!

Checklist

  • The base branch of this PR is preview, rather than main

The `systeminformation` can return false for `BatteryData.acConnected` and `BatteryData.isCharging`, when battery charged to 100%
@sestinj
Copy link
Contributor

sestinj commented Jun 11, 2024

@sr-tream this is super cool! I just pushed a handful of changes to the autocomplete status bar (allowing switching between models), so I'll have to take just an extra minute to merge these nicely into the QuickPick menu, but I think that will be even better

@sestinj sestinj force-pushed the preview branch 4 times, most recently from c102261 to bdd6449 Compare June 23, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants