[ // Format Document { "command": "lsp_format_document", "keys": [ "primary+alt+r" ], "context": [ { "key": "lsp.session_with_capability", "operator": "equal", "operand": "documentFormattingProvider | documentRangeFormattingProvider" } ] }, // Go To Definition { "command": "lsp_symbol_definition", "args": { "side_by_side": false }, "keys": [ "primary+alt+g" ], "context": [ { "key": "lsp.session_with_capability", "operator": "equal", "operand": "definitionProvider" }, { "key": "auto_complete_visible", "operator": "equal", "operand": false } ] }, // LSP hover by keycombination { "command": "lsp_hover", "keys": [ "super+.", ], "context": [ { "key": "lsp.session_with_capability", "operator": "equal", "operand": "codeActionProvider" }, ] }, // Code action { "command": "lsp_code_actions", "keys": [ "super+/" ], "context": [ { "key": "lsp.session_with_capability", "operator": "equal", "operand": "codeActionProvider" }, ] }, // Rename symbol { "command": "lsp_symbol_rename", "keys": [ "primary+alt+s" ], "context": [ { "key": "lsp.session_with_capability", "operator": "equal", "operand": "codeActionProvider" }, ] }, ]