-
Notifications
You must be signed in to change notification settings - Fork 0
/
keybindings.json
57 lines (55 loc) · 1.76 KB
/
keybindings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// In any case, add the extension «Visual Studio Keymap»
// Place your key bindings in this file to overwrite the defaults
[
// ReSharper Tests: Run all tests from soulution
{
"key": "ctrl+u ctrl+l",
"command": "workbench.action.tasks.test"
},
// ReSharper Tests: Repeat previous run
{
"key": "ctrl+u ctrl+u",
"command": "workbench.action.tasks.runTask",
"args": "Test Current File"
},
{
"key": "ctrl+alt+shift+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+shift+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
// Copy from https://github.com/Microsoft/vscode-resharper-keybindings/blob/master/package.json
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+w",
"mac": "cmd+w",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"mac": "cmd+shift+w",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
// Copy from https://github.com/k--kato/vscode-intellij-idea-keybindings/blob/master/package.json
{
"key": "alt+enter",
"mac": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
// PowerShell
{
"key": "f5",
"command": "workbench.action.terminal.runActiveFile"
}
]