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

Toggle is not working. Error visible in the VSC console #62

Closed kapalkat closed 2 years ago

kapalkat commented 2 years ago

Toggle is not working.

I get following error when trying to toggle: ERR Unable to write to User Settings because formatOnSave is not a registered configuration.

Tom-Bonnike commented 2 years ago

See the changelog for v3:

⚠️ Breaking: the formattingToggle.affects option now expects a full path for formatting settings (i.e. formatOnPaste → editor.formatOnPaste). (3f2bf6c)

kapalkat commented 2 years ago

@Tom-Bonnike, thanks. It's working now after the change.

TrueWill commented 2 years ago

Just a note that it took me quite a while to find this and figure out why the toggle was not working. As extension updates are typically automatic, it would be beneficial to notify users of the change (if it can't be made automatically) in large friendly letters. 😄 Otherwise people are likely to uninstall your fine extension. Thanks!