A contextual menu is available when you right-click the current editor tab label.
The actions that are available depend on the context and the number of files that are opened.
The menu includes the following actions:
Close (Ctrl + F4 (Command + F4
on macOS))
Closes the currently selected editor.
Close Others
If multiple files are opened, this action is available to close all open editors in
the current group/stack of tabs except for the one you are currently viewing.
Close All(Ctrl +
Shift + F4 (Command + Shift + F4 on macOS))
If multiple files are opened, this action is available to close all open
editors.