LSP: Rename Symbol…

lsp.rename

Rename the symbol under the caret across the workspace via the language server (a Java class rename moves its file too)

How to run it

Open the command palette (M-x in the Emacs keymap) and search for LSP: Rename Symbol…, then press Enter. It also has a default keybinding:

Sublime Text f2
VS Code f2
IntelliJ IDEA f2

See also