|
1 | 1 | 'menu': [
|
| 2 | + { |
| 3 | + 'label': 'File' |
| 4 | + 'submenu': [ |
| 5 | + {'label': 'New File', command: 'tree-view:add-file'} |
| 6 | + {'label': 'Save', 'command': 'learn-ide:save'} |
| 7 | + {'label': 'Save As…', 'command': 'learn-ide:save-as'} |
| 8 | + {'label': 'Open…', 'command': 'learn-ide:file-open'} |
| 9 | + {'label': 'Add Project Folder…', 'command': 'learn-ide:add-project'} |
| 10 | + {'label': 'Save All', 'command': 'learn-ide:save-all'} |
| 11 | + ] |
| 12 | + } |
2 | 13 | {
|
3 | 14 | 'label': 'View'
|
4 | 15 | 'submenu': [
|
|
33 | 44 | {'label': 'Paste', 'command': 'tree-view:paste'}
|
34 | 45 | {'type': 'separator'}
|
35 | 46 |
|
36 |
| - {'label': 'Add Project Folder', 'command': 'application:add-project-folder'} |
37 |
| - {'type': 'separator'} |
38 |
| - |
39 |
| - {'label': 'Copy Full Path', 'command': 'tree-view:copy-full-path'} |
40 |
| - {'label': 'Copy Project Path', 'command': 'tree-view:copy-project-path'} |
41 | 47 | {'label': 'Open In New Window', 'command': 'tree-view:open-in-new-window'}
|
42 | 48 | ]
|
43 | 49 |
|
44 |
| - '.tree-view.full-menu [is="tree-view-file"]': [ |
| 50 | + '.tree-view.full-menu [is="learn-ide-tree-directory"]': [ |
| 51 | + {label: 'Import', command: 'learn-ide:import'} |
| 52 | + ] |
| 53 | + |
| 54 | + '.tree-view.full-menu [is="learn-ide-tree-file"]': [ |
45 | 55 | {'label': 'Split Up', 'command': 'tree-view:open-selected-entry-up'}
|
46 | 56 | {'label': 'Split Down', 'command': 'tree-view:open-selected-entry-down'}
|
47 | 57 | {'label': 'Split Left', 'command': 'tree-view:open-selected-entry-left'}
|
|
62 | 72 | {'label': 'Paste', 'command': 'tree-view:paste'}
|
63 | 73 | {'type': 'separator'}
|
64 | 74 |
|
65 |
| - {'label': 'Add Project Folder', 'command': 'application:add-project-folder'} |
66 |
| - {'label': 'Remove Project Folder', 'command': 'tree-view:remove-project-folder'} |
67 | 75 | {'type': 'separator'}
|
68 | 76 |
|
69 | 77 | {'label': 'Copy Full Path', 'command': 'tree-view:copy-full-path'}
|
|
0 commit comments