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 not working if editor.formatOnSave is set both on user and workspace settings #40

Closed ghaschel closed 5 years ago

ghaschel commented 5 years ago

I have editor.formatOnSave set on user settings to be able to sync with my home preferences and also have it set on workspace settings to make some settings default for our company workspace.

Apparently it only takes the user settings in consideration, because once I disable editor.formatOnSave manually on my workspace settings it works as it should.

It happens using prettier on ts and beautify in html files

Tom-Bonnike commented 5 years ago

Hey. Please take a look at https://github.com/Tom-Bonnike/vscode-formatting-toggle/issues/36.