|
152 | 152 | "when": "view == foam-vscode.tags-explorer && foam-vscode.views.tags-explorer.group-by == 'folder'",
|
153 | 153 | "group": "navigation"
|
154 | 154 | },
|
| 155 | + { |
| 156 | + "command": "foam-vscode.views.tags-explorer.expand-all", |
| 157 | + "when": "view == foam-vscode.tags-explorer", |
| 158 | + "group": "navigation" |
| 159 | + }, |
155 | 160 | {
|
156 | 161 | "command": "foam-vscode.views.placeholders.show:for-current-file",
|
157 | 162 | "when": "view == foam-vscode.placeholders && foam-vscode.views.placeholders.show == 'all'",
|
|
172 | 177 | "when": "view == foam-vscode.placeholders && foam-vscode.views.placeholders.group-by == 'folder'",
|
173 | 178 | "group": "navigation"
|
174 | 179 | },
|
| 180 | + { |
| 181 | + "command": "foam-vscode.views.placeholders.expand-all", |
| 182 | + "when": "view == foam-vscode.placeholders", |
| 183 | + "group": "navigation" |
| 184 | + }, |
175 | 185 | {
|
176 | 186 | "command": "foam-vscode.views.notes-explorer.show:notes",
|
177 | 187 | "when": "view == foam-vscode.notes-explorer && foam-vscode.views.notes-explorer.show == 'all'",
|
|
181 | 191 | "command": "foam-vscode.views.notes-explorer.show:all",
|
182 | 192 | "when": "view == foam-vscode.notes-explorer && foam-vscode.views.notes-explorer.show == 'notes-only'",
|
183 | 193 | "group": "navigation"
|
| 194 | + }, |
| 195 | + { |
| 196 | + "command": "foam-vscode.views.notes-explorer.expand-all", |
| 197 | + "when": "view == foam-vscode.notes-explorer", |
| 198 | + "group": "navigation" |
184 | 199 | }
|
185 | 200 | ],
|
186 | 201 | "commandPalette": [
|
|
228 | 243 | "command": "foam-vscode.views.tags-explorer.group-by:off",
|
229 | 244 | "when": "false"
|
230 | 245 | },
|
| 246 | + { |
| 247 | + "command": "foam-vscode.views.tags-explorer.expand-all", |
| 248 | + "when": "false" |
| 249 | + }, |
231 | 250 | {
|
232 | 251 | "command": "foam-vscode.views.placeholders.show:for-current-file",
|
233 | 252 | "when": "false"
|
|
244 | 263 | "command": "foam-vscode.views.placeholders.group-by:off",
|
245 | 264 | "when": "false"
|
246 | 265 | },
|
| 266 | + { |
| 267 | + "command": "foam-vscode.views.placeholders.expand-all", |
| 268 | + "when": "false" |
| 269 | + }, |
247 | 270 | {
|
248 | 271 | "command": "foam-vscode.views.notes-explorer.show:all",
|
249 | 272 | "when": "false"
|
|
252 | 275 | "command": "foam-vscode.views.notes-explorer.show:notes",
|
253 | 276 | "when": "false"
|
254 | 277 | },
|
| 278 | + { |
| 279 | + "command": "foam-vscode.views.notes-explorer.expand-all", |
| 280 | + "when": "false" |
| 281 | + }, |
255 | 282 | {
|
256 | 283 | "command": "foam-vscode.open-resource",
|
257 | 284 | "when": "false"
|
|
364 | 391 | "title": "Flat list",
|
365 | 392 | "icon": "$(list-flat)"
|
366 | 393 | },
|
| 394 | + { |
| 395 | + "command": "foam-vscode.views.tags-explorer.expand-all", |
| 396 | + "title": "Expand all", |
| 397 | + "icon": "$(expand-all)" |
| 398 | + }, |
367 | 399 | {
|
368 | 400 | "command": "foam-vscode.views.placeholders.show:for-current-file",
|
369 | 401 | "title": "Show placeholders in current file",
|
|
384 | 416 | "title": "Flat list",
|
385 | 417 | "icon": "$(list-flat)"
|
386 | 418 | },
|
| 419 | + { |
| 420 | + "command": "foam-vscode.views.placeholders.expand-all", |
| 421 | + "title": "Expand all", |
| 422 | + "icon": "$(expand-all)" |
| 423 | + }, |
387 | 424 | {
|
388 | 425 | "command": "foam-vscode.views.notes-explorer.show:all",
|
389 | 426 | "title": "Show all resources",
|
390 | 427 | "icon": "$(files)"
|
391 | 428 | },
|
| 429 | + { |
| 430 | + "command": "foam-vscode.views.notes-explorer.expand-all", |
| 431 | + "title": "Expand all", |
| 432 | + "icon": "$(expand-all)" |
| 433 | + }, |
392 | 434 | {
|
393 | 435 | "command": "foam-vscode.views.notes-explorer.show:notes",
|
394 | 436 | "title": "Show only notes",
|
|
0 commit comments