-
Notifications
You must be signed in to change notification settings - Fork 3
/
commands_to_test.js
56 lines (47 loc) · 2.64 KB
/
commands_to_test.js
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
'use strict';
const CommandsToTest = {
CursorDown: { command: 'cursorDown' },
CursorDownSelect: { command: 'cursorDownSelect' },
CursorLeft: { command: 'cursorLeft' },
CursorLeftSelect: { command: 'cursorLeftSelect' },
CursorRight: { command: 'cursorRight' },
CursorRightSelect: { command: 'cursorRightSelect' },
CursorUp: { command: 'cursorUp' },
CursorUpSelect: { command: 'cursorUpSelect' },
CursorBottom: { command: 'cursorBottom' },
CursorBottomSelect: { command: 'cursorBottomSelect' },
CursorTop: { command: 'cursorTop' },
CursorTopSelect: { command: 'cursorTopSelect' },
CursorEnd: { command: 'cursorEnd', args: { sticky: false } },
CursorEndSelect: { command: 'cursorEndSelect', args: { sticky: false } },
CursorHome: { command: 'cursorHome' },
CursorHomeSelect: { command: 'cursorHomeSelect' },
CancelSelection: { command: 'cancelSelection' },
RemoveSecondaryCursors: { command: 'removeSecondaryCursors' },
EditorActionSelectAll: { command: 'editor.action.selectAll' },
Enter: { command: 'type', args: { text: '\n' } },
Tab: { command: "tab" },
DeleteLeft: { command: "deleteLeft" },
DeleteRight: { command: "deleteRight" },
DeleteWordLeft: { command: "deleteWordLeft" },
DeleteWordRight: { command: "deleteWordRight" },
ClipboardCopy: { command: "editor.action.clipboardCopyAction", await: 'clipboard' },
ClipboardCut_NotHOL: { command: "editor.action.clipboardCutAction", await: 'document selection clipboard' },
ClipboardCut_HOL: { command: "editor.action.clipboardCutAction", await: 'document clipboard' },
ClipboardPaste: { command: "editor.action.clipboardPasteAction", await: 'document selection' },
CopyLinesDown: { command: "editor.action.copyLinesDownAction" },
CopyLinesUp: { command: "editor.action.copyLinesUpAction" },
Outdent: { command: 'outdent' },
OutdentLines: { command: 'editor.action.outdentLines' },
IndentLines: { command: 'editor.action.indentLines' },
MoveLinesDown: { command: "editor.action.moveLinesDownAction" },
MoveLinesUp: { command: "editor.action.moveLinesUpAction" },
CommentLine: { command: "editor.action.commentLine" },
AddCommentLine: { command: "editor.action.addCommentLine" },
RemoveCommentLine: { command: "editor.action.removeCommentLine" },
Find: { command: 'actions.find' },
NextMatchFind: { command: 'editor.action.nextMatchFindAction' },
NextSnippetPlaceholder: { command: "jumpToNextSnippetPlaceholder", record: "side-effect" },
PrevSnippetPlaceholder: { command: "jumpToPrevSnippetPlaceholder", record: "side-effect" }
};
module.exports = { CommandsToTest };