LSP: Code Actions
lsp.codeActions Show the quick fixes and refactorings the language server offers at the caret or selection, and apply the chosen one
How to run it
Open the command palette (M-x in the Emacs keymap) and search for LSP: Code Actions, then press Enter. It also has a default keybinding:
| Sublime Text | C-. |
| VS Code | C-. |
| IntelliJ IDEA | C-. |