OLD | NEW |
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
3 { | 3 { |
4 "type": "@QuickOpen.FilteredListWidget.Provider", | 4 "type": "@QuickOpen.FilteredListWidget.Provider", |
5 "title": "Run a command", | 5 "title": "Run command", |
6 "prefix": ">", | 6 "prefix": ">", |
7 "className": "QuickOpen.CommandMenuProvider" | 7 "className": "QuickOpen.CommandMenuProvider" |
8 }, | 8 }, |
9 { | 9 { |
10 "type": "@QuickOpen.FilteredListWidget.Provider", | 10 "type": "@QuickOpen.FilteredListWidget.Provider", |
11 "prefix": "?", | 11 "prefix": "?", |
12 "className": "QuickOpen.HelpQuickOpen" | 12 "className": "QuickOpen.HelpQuickOpen" |
13 }, | 13 }, |
14 { | 14 { |
15 "type": "@UI.ActionDelegate", | 15 "type": "@UI.ActionDelegate", |
16 "actionId": "commandMenu.show", | 16 "actionId": "commandMenu.show", |
17 "className": "QuickOpen.CommandMenu.ShowActionDelegate", | 17 "className": "QuickOpen.CommandMenu.ShowActionDelegate", |
18 "bindings": [ | 18 "bindings": [ |
19 { | 19 { |
20 "platform": "windows,linux", | 20 "platform": "windows,linux", |
21 "shortcut": "Ctrl+Shift+P" | 21 "shortcut": "Ctrl+Shift+P" |
22 }, | 22 }, |
23 { | 23 { |
24 "platform": "mac", | 24 "platform": "mac", |
25 "shortcut": "Meta+Shift+P" | 25 "shortcut": "Meta+Shift+P" |
26 } | 26 } |
27 ] | 27 ] |
28 }, | 28 }, |
29 { | 29 { |
30 "type": "@UI.ActionDelegate", | 30 "type": "@UI.ActionDelegate", |
31 "actionId": "quickOpen.show", | 31 "actionId": "quickOpen.show", |
32 "title": "Go to file...", | 32 "title": "Open file", |
33 "className": "QuickOpen.QuickOpen.ShowActionDelegate", | 33 "className": "QuickOpen.QuickOpen.ShowActionDelegate", |
34 "order": 100, | 34 "order": 100, |
35 "bindings": [ | 35 "bindings": [ |
36 { | 36 { |
37 "platform": "mac", | 37 "platform": "mac", |
38 "shortcut": "Meta+P Meta+O" | 38 "shortcut": "Meta+P Meta+O" |
39 }, | 39 }, |
40 { | 40 { |
41 "platform": "windows,linux", | 41 "platform": "windows,linux", |
42 "shortcut": "Ctrl+P Ctrl+O" | 42 "shortcut": "Ctrl+P Ctrl+O" |
43 } | 43 } |
44 ] | 44 ] |
| 45 }, |
| 46 { |
| 47 "type": "context-menu-item", |
| 48 "location": "mainMenu/navigate", |
| 49 "actionId": "quickOpen.show" |
45 } | 50 } |
46 ], | 51 ], |
47 "dependencies": [ | 52 "dependencies": [ |
48 "ui", | 53 "ui", |
49 "diff" | 54 "diff" |
50 ], | 55 ], |
51 "scripts": [ | 56 "scripts": [ |
52 "FilteredListWidget.js", | 57 "FilteredListWidget.js", |
53 "QuickOpen.js", | 58 "QuickOpen.js", |
54 "CommandMenu.js", | 59 "CommandMenu.js", |
55 "HelpQuickOpen.js" | 60 "HelpQuickOpen.js" |
56 ], | 61 ], |
57 "resources": [ | 62 "resources": [ |
58 "filteredListWidget.css" | 63 "filteredListWidget.css" |
59 ] | 64 ] |
60 } | 65 } |
OLD | NEW |