Couldn't find this issue anywhere. I just want to bind Go To Symbol Definition to Ctrl + Click, is this possible? It seems the key bindings are only for keyboard shortcuts, not mouse shortcuts.
I didn't actually test it but you can bind a command via a mouse map.
https://forum.sublimetext.com/t/how-to-achieve-sublime-ctrl-left-mouse-button-function-jump-function-like-intellij-idea-that-function/34918/3
@jfcherng, thank you, I got it (Default.sublime-mousemap):
[
...
{
"button": "button1",
"count": 1,
"modifiers": ["ctrl"],
"press_command": "drag_select",
"command": "lsp_symbol_definition"
}
]
Good example of how things are documented (see "Mouse map configuration" on https://lsp.readthedocs.io/en/latest/features/) but not findable :)
Maybe we should add ctrl + mouse click as a default shortcut to LSP, so people don't have to hunt down that documentation for that?
Most helpful comment
@jfcherng, thank you, I got it (
Default.sublime-mousemap):