Tom-Bonnike / vscode-formatting-toggle

A VS Code extension that allows you to toggle the formatter (Prettier, Beautify, …) ON and OFF with a simple click.
https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle
MIT License
60 stars 13 forks source link

Automatically update status bar text using `onDidChangeConfiguration` event #22

Closed Tom-Bonnike closed 6 years ago

Tom-Bonnike commented 6 years ago

Currently blocked because VS Code doesn‘t provide a way to check if the change was triggered by the user or programmatically. I guess we could use a flag to ignore the next event, but this requires to build a simple state system.

Tom-Bonnike commented 6 years ago

Done with https://github.com/Tom-Bonnike/vscode-status-bar-format-toggle/pull/23