Skip to content

treetrum/statusbar-format-on-save

Repository files navigation

Status Bar - Format on Save

This extension displays the current state of the editor.formatOnSave setting in your status bar. Clicking the item in the status bar will toggle the setting on/off.

Features

  • Shows the current status of the editor.formatOnSave status in the status bar
  • Allows you to quickly toggle this setting on/off by clicking the item in the status bar
  • Exposes the command statusbar-format-on-save.toggleFormatOnSave for easy keybinding or command pallate usage
  • Allows customisation of the display in the status bar (with a custom format string)

screenshot

Examples

Format String Customisation

Using the following settings will result in the status bar display showing as FoS: 👍 or FoS: 👎

{
    "statusbar-format-on-save.formatString": "FoS: {{status}}",
    "statusbar-format-on-save.displayWhenTrue": "👍",
    "statusbar-format-on-save.displayWhenFalse": "👎"
}

Issues

If you find an issue with this extension or would like to request new functionality, please let me know here on GitHub.

Release Notes

1.1.3

Adds tooltip text to the status bar item

1.1.2

Minor updates

1.1.1

Nothing really...

1.1.0

Allow for customisation of the display in the status bar (with a custom format string)

1.0.0

Initial release of statusbar-setting-display

About

statusbar-format-on-save VSCode Extension

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •