Skip to main content

Conventions

Key bindings name adopts spacemacs/emacs convention. Here you can find the corresponding terms in VSCode:

EmacsVSCode
buffereditor
windoweditor group
framewindow

Common Major Mode Key Bindings#

The following formatting bindings should be offered in all major modes that uses language server protocol.

Formatting#

Key BindingNameCommand
m = =Format region or buffereditor.action.format
m = bFormat buffereditor.action.formatDocument
m = BFormat buffer with formattereditor.action.formatDocument.multiple
m = cFormat changeseditor.action.formatChanges
m = sFormat selectioneditor.action.formatSelection
m = SFormat selection with formattereditor.action.formatSelection.multiple

Actions#

Key BindingNameCommand
m a aExecute code actioneditor.action.codeAction
m a fExecute fix actioneditor.action.quickFix
m a rExecute refactor actioneditor.action.refactor
m a sExecute source actioneditor.action.sourceAction