Close all tabs: the shortcut in both apps
Each app binds this differently. The table shows the keys in Eclipse and VS Code side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| EclipseClose all editors | ShiftCmdW | CtrlShiftW | CtrlShiftW |
| VS CodeClose all editors | CmdK,CmdW | CtrlK,CtrlW | CtrlK,CtrlW |
How the apps compare
- Mac: Shift+Cmd+W in Eclipse; Cmd+K Cmd+W in VS Code.
- Windows: Ctrl+Shift+W in Eclipse; Ctrl+K Ctrl+W in VS Code.
- Linux: Ctrl+Shift+W in Eclipse; Ctrl+K Ctrl+W in VS Code.
Learn it by pressing it: Eclipse shortcuts practice or VS Code shortcuts practice.