nortakales / vs-code-qalc

Interactive scratchpad calculator for VS Code
MIT License
70 stars 2 forks source link

On/Off button in status bar #5

Open martinheidegger opened 2 years ago

martinheidegger commented 2 years ago

In order to save performance I think it may be a good idea to offer an on/off button in the status bar (that triggers a workspace/user setting)

nortakales commented 2 years ago

I'm adding a setting to turn Qalc off using glob patterns in v0.1.11. But maybe an on/off button like this would still be nice.

How should we have it work? What would turning it off do? Turn it off globally? Turn it off for this file only?

martinheidegger commented 2 years ago

In my thinking it was for it to be turned off by default and and to enable it for a file, run either an action or a small button in the status bar. Imo. This doesn't even need to persist (can be for session only)