w4Buttons in Contextw4Buttons in Context keeps high-value VS Code editor toolbar buttons visible when they are actually useful. It adds context-sensitive editor toolbar buttons for:
Instead of permanently occupying toolbar space, each button appears only when its action is relevant. This helps other editor actions stay visible when you need them. Why Install It
Why Not Use Always-On Toolbar Extensions?VS Code's editor toolbar has limited visible space. When several extensions contribute editor actions, useful built-in buttons and extension buttons can move into the overflow menu. w4Buttons in Context improves reachability by only showing editor toolbar buttons when they are useful in the current editor state. What Appears When?
FeaturesNavigation When History ExistsBack and Forward are added to the editor toolbar when navigation is available, giving you access to editor history without opening menus. Save And Revert For The Active FileSave File and Revert File appear when the active editor is dirty, so the actions you need for the current file are available when the file needs attention. Save And Revert Across Other Dirty FilesSave All and Revert All appear when there is at least one dirty file outside the active tab. This helps when the file you are editing has no changes or is not the only file with pending changes. Word Wrap For Long LinesWord Wrap appears when the active document contains a line longer than the configured line length threshold. The icon changes with the current wrap state:
Uses Native VS Code ActionsThis extension surfaces native VS Code editor actions in the editor toolbar. It does not replace save, revert, navigation, or word wrap with a separate workflow. ConfigurationEvery contributed button can be enabled or disabled individually in Settings.
Example:
Known IssuesThere are no known issues. |