File: Save As…

file.saveAs

Save the current file under a new name.

How to run it

Open the command palette and search for File: Save As…, then press Enter. The palette opens with M-x in Emacs, Ctrl+Shift+P in CUA, Sublime Text and VS Code, and Ctrl+Shift+A in IntelliJ IDEA (⇧⌘P and ⇧⌘A on macOS). It also has a default keybinding:

Keymap Windows / Linux macOS
Emacs C-xC-w C-xC-w
CUA Ctrl+Shift+S ⇧⌘S
Sublime Text Ctrl+Shift+S ⇧⌘S
VS Code Ctrl+Shift+S ⇧⌘S
IntelliJ IDEA Ctrl+Shift+S ⇧⌘S

See also