Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>w4Buttons in ContextNew to Visual Studio Code? Get it now.
w4Buttons in Context

w4Buttons in Context

w4b.co.uk limited

| (0) | Free
Adds context-sensitive buttons to VS Code's Editor toolbar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

w4Buttons in Context

w4Buttons in Context adds context-sensitive instances of the following buttons to VS Code's editor toolbar:

  • Navigate back
  • Navigate forward
  • Save active file
  • Save all files
  • Toggle word-wrap

These buttons are context-sensitive because VS Code only shows a few buttons and pushes the rest to the overflow menu (...).

However, an extension can push all other buttons to the overflow menu if it has enough buttons that are given priority and this can mean frequently used buttons are less efficiently available.

By making these buttons context sensitive increases the likelihood that toolbar buttons are available when needed.

Features

The navigate buttons are added to the editor toolbar if there is somewhere to navigate to.

The save active file button is added if the active file has unsaved changes.

The save all button is added if there is either:

  • more than one file with unsaved changes
  • one file other than the active file has unsaved changes

The word wrap button is added when a line is longer than the configured character line length limit (defaults to 120).

Extension Settings

This extension contributes the following settings:

  • w4buttons-context.wordWrapLineLength: sets the line length minimum for the word wrap button to show.
    • defaults to 120

Known Issues

There are no known issues.

Release Notes

0.0.1 - 2026-04-09

Initial release of w4button that provides context-sensitive instances of:

  • Navigate back
  • Navigate forward
  • Save active file
  • Save all files
  • Toggle word-wrap
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft