Skip to content

Commit 26f9d9a

Browse files
authored
chore: add definition inspection
1 parent 0340c5a commit 26f9d9a

1 file changed

Lines changed: 33 additions & 6 deletions

File tree

.vscode/keybindings.json

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,51 +48,78 @@
4848
"key": "cmd+9",
4949
"command": "workbench.action.openEditorAtIndex9"
5050
},
51+
{
52+
"key": "ctrl+=",
53+
"command": "editor.action.goToTypeDefinition",
54+
"when": "editorTextFocus"
55+
},
5156
{
5257
"key": "alt+down",
5358
"command": "runCommands",
5459
"args": {
55-
"commands": ["cursorDown", "editor.gotoNextFold"]
60+
"commands": [
61+
"cursorDown",
62+
"editor.gotoNextFold"
63+
]
5664
},
5765
"when": "editorTextFocus"
5866
},
5967
{
6068
"key": "alt+up",
6169
"command": "runCommands",
6270
"args": {
63-
"commands": ["cursorUp", "editor.gotoPreviousFold"]
71+
"commands": [
72+
"cursorUp",
73+
"editor.gotoPreviousFold"
74+
]
6475
},
6576
"when": "editorTextFocus"
6677
},
6778
{
6879
"key": "shift+alt+down",
6980
"command": "runCommands",
7081
"args": {
71-
"commands": ["cursorLineEndSelect", "editor.action.selectFromAnchorToCursor"]
82+
"commands": [
83+
"cursorLineEndSelect",
84+
"editor.action.selectFromAnchorToCursor"
85+
]
7286
},
7387
"when": "editorTextFocus && selectionAnchorSet"
7488
},
7589
{
7690
"key": "shift+alt+down",
7791
"command": "runCommands",
7892
"args": {
79-
"commands": ["cursorLineStart", "editor.action.setSelectionAnchor", "cursorDown", "editor.gotoNextFold"]
93+
"commands": [
94+
"cursorLineStart",
95+
"editor.action.setSelectionAnchor",
96+
"cursorDown",
97+
"editor.gotoNextFold"
98+
]
8099
},
81100
"when": "editorTextFocus && !selectionAnchorSet"
82101
},
83102
{
84103
"key": "shift+alt+up",
85104
"command": "runCommands",
86105
"args": {
87-
"commands": ["cursorLineStartSelect", "editor.action.selectFromAnchorToCursor"]
106+
"commands": [
107+
"cursorLineStartSelect",
108+
"editor.action.selectFromAnchorToCursor"
109+
]
88110
},
89111
"when": "editorTextFocus && selectionAnchorSet"
90112
},
91113
{
92114
"key": "shift+alt+up",
93115
"command": "runCommands",
94116
"args": {
95-
"commands": ["cursorLineEnd", "editor.action.setSelectionAnchor", "cursorUp", "editor.gotoPreviousFold"]
117+
"commands": [
118+
"cursorLineEnd",
119+
"editor.action.setSelectionAnchor",
120+
"cursorUp",
121+
"editor.gotoPreviousFold"
122+
]
96123
},
97124
"when": "editorTextFocus && !selectionAnchorSet"
98125
},

0 commit comments

Comments
 (0)