Save and Close All Editors
A simple VS Code extension that saves all open files and closes all editors with a single command.
Features
- Save all open files in one action
- Close all open editors simultaneously
- Available in Command Palette
- Accessible via editor title bar button
- Available in File menu
- Default keybinding:
Ctrl+Shift+W (Windows/Linux) or Cmd+Shift+W (Mac)
Installation
Install from the VS Code Marketplace or build from source.
Usage
Command Palette
- Press
Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Type "Save and Close All Editors"
- Press Enter
Keybinding
- Windows/Linux:
Ctrl+Shift+W
- Mac:
Cmd+Shift+W
- Click the save icon in the editor title bar
- Use File menu > "Save and Close All Editors"
Development Setup
- Install Node.js from https://nodejs.org
- Install VSCE:
npm install -g vsce
- Clone/download this repository
- Run
npm install in the project directory
- Run
npm run compile to build
Publishing
- Create publisher account at Visual Studio Marketplace
- Get Personal Access Token from Azure DevOps
- Login:
vsce login your-publisher-name
- Publish:
vsce publish
Requirements
VS Code 1.74.0 or higher
Release Notes
1.0.0
Initial release with save and close all functionality.
| |