All notable changes to the “Formatting Toggle” extension will be documented in this file.
- Add
formattingToggle.statusBarText
setting so the status bar text can be configured.
- Fix multiple
editor.codeActionsOnSave
settings not getting toggled correctly.
- Add support for
editor.codeActionsOnSave
informattingToggle.affects
.
⚠️ Breaking: theformattingToggle.affects
option now expects a full path for formatting settings (i.e.formatOnPaste
→editor.formatOnPaste
).- The extension now supports toggling any boolean setting that lives at the root of the VSCode configuration via the
formattingToggle.affects
option.
⚠️ Breaking: removeformattingToggle.activateFor
option.- Add
formattingToggle.affects
option. See the README for usage examples. - Fix status bar text not being synced across multiple VS Code windows.
- Add an icon to increase visibility on the Extensions Marketplace.
- Add
formattingToggle.activateFor
setting to allow users to choose which events the formatter should be activated back ON for. See README for usage examples.
- Rename extension to increase visibility on the Extensions Marketplace.
- Match Prettier’s status bar text.
- Stop relying on the initial formatting configuration.
- Toggle the status bar text automatically when the user changes their configuration manually.
- Fix formatting settings not being toggled if they were all set to
false
when VS Code was first launched.formatOnType
is now never toggled on if it wasn’t part of the user’s config beforehand.
- Fix formatting settings never being toggled back on using the status bar.
- Make it an actual status bar extension.
- Initial release with the working “Toggle formatting” command.