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:

KeymapWindows / LinuxmacOS
EmacsC-xC-wC-xC-w
CUACtrl+Shift+S⇧⌘S
Sublime TextCtrl+Shift+S⇧⌘S
VS CodeCtrl+Shift+S⇧⌘S
IntelliJ IDEACtrl+Shift+S⇧⌘S

See also