|
101 | 101 | "category": "HackMD" |
102 | 102 | }, |
103 | 103 | { |
104 | | - "command": "treeView.refreshList", |
105 | | - "title": "Refresh", |
| 104 | + "command": "HackMD.apiKey", |
| 105 | + "title": "API Key", |
| 106 | + "category": "HackMD" |
| 107 | + }, |
| 108 | + { |
| 109 | + "command": "treeView.refreshMyNotes", |
| 110 | + "title": "Refresh My Notes", |
| 111 | + "category": "HackMD", |
| 112 | + "icon": { |
| 113 | + "light": "images/icon/light/refresh-dark.svg", |
| 114 | + "dark": "images/icon/dark/refresh-light.svg" |
| 115 | + } |
| 116 | + }, |
| 117 | + { |
| 118 | + "command": "treeView.refreshHistory", |
| 119 | + "title": "Refresh History", |
| 120 | + "category": "HackMD", |
| 121 | + "icon": { |
| 122 | + "light": "images/icon/light/refresh-dark.svg", |
| 123 | + "dark": "images/icon/dark/refresh-light.svg" |
| 124 | + } |
| 125 | + }, |
| 126 | + { |
| 127 | + "command": "treeView.refreshTeamNotes", |
| 128 | + "title": "Refresh Team Notes", |
106 | 129 | "category": "HackMD", |
107 | 130 | "icon": { |
108 | 131 | "light": "images/icon/light/refresh-dark.svg", |
|
145 | 168 | "menus": { |
146 | 169 | "view/title": [ |
147 | 170 | { |
148 | | - "command": "treeView.refreshList", |
149 | | - "when": "view =~ /hackmd.tree/", |
| 171 | + "command": "treeView.refreshMyNotes", |
| 172 | + "when": "view =~ /hackmd.tree.my-notes/", |
| 173 | + "group": "navigation" |
| 174 | + }, |
| 175 | + { |
| 176 | + "command": "treeView.refreshHistory", |
| 177 | + "when": "view =~ /hackmd.tree.recent-notes/", |
| 178 | + "group": "navigation" |
| 179 | + }, |
| 180 | + { |
| 181 | + "command": "treeView.refreshTeamNotes", |
| 182 | + "when": "view =~ /hackmd.tree.team-notes/", |
150 | 183 | "group": "navigation" |
151 | 184 | } |
152 | 185 | ], |
|
0 commit comments