|
222 | 222 | "command": "portfolioInstruments.undeprecate", |
223 | 223 | "title": "%portfolioInstruments.undeprecate%", |
224 | 224 | "category": "Portfolio Instruments" |
| 225 | + }, |
| 226 | + { |
| 227 | + "command": "portfolioInstruments.refresh", |
| 228 | + "title": "%portfolioInstruments.refresh%", |
| 229 | + "category": "Portfolio Instruments", |
| 230 | + "icon": "$(refresh)" |
| 231 | + }, |
| 232 | + { |
| 233 | + "command": "portfolioInstruments.refreshSnapshots", |
| 234 | + "title": "%portfolioInstruments.refreshSnapshots%", |
| 235 | + "category": "Portfolio Instruments", |
| 236 | + "icon": "$(refresh)" |
| 237 | + }, |
| 238 | + { |
| 239 | + "command": "portfolioInstruments.refreshAccounts", |
| 240 | + "title": "%portfolioInstruments.refreshAccounts%", |
| 241 | + "category": "Portfolio Instruments", |
| 242 | + "icon": "$(refresh)" |
| 243 | + }, |
| 244 | + { |
| 245 | + "command": "portfolioInstruments.refreshHoldings", |
| 246 | + "title": "%portfolioInstruments.refreshHoldings%", |
| 247 | + "category": "Portfolio Instruments", |
| 248 | + "icon": "$(refresh)" |
| 249 | + }, |
| 250 | + { |
| 251 | + "command": "portfolioInstruments.refreshBenchmarks", |
| 252 | + "title": "%portfolioInstruments.refreshBenchmarks%", |
| 253 | + "category": "Portfolio Instruments", |
| 254 | + "icon": "$(refresh)" |
| 255 | + }, |
| 256 | + { |
| 257 | + "command": "portfolioInstruments.refreshSnapshot", |
| 258 | + "title": "%portfolioInstruments.refreshSnapshot%", |
| 259 | + "category": "Portfolio Instruments" |
| 260 | + }, |
| 261 | + { |
| 262 | + "command": "portfolioInstruments.collapseAll", |
| 263 | + "title": "%portfolioInstruments.collapseAll%", |
| 264 | + "category": "Portfolio Instruments", |
| 265 | + "icon": "$(collapse-all)" |
225 | 266 | } |
226 | 267 | ], |
227 | 268 | "configuration": [ |
|
388 | 429 | { |
389 | 430 | "command": "portfolioInstruments.undeprecate", |
390 | 431 | "when": "never" |
| 432 | + }, |
| 433 | + { |
| 434 | + "command": "portfolioInstruments.refreshSnapshots", |
| 435 | + "when": "never" |
| 436 | + }, |
| 437 | + { |
| 438 | + "command": "portfolioInstruments.refreshAccounts", |
| 439 | + "when": "never" |
| 440 | + }, |
| 441 | + { |
| 442 | + "command": "portfolioInstruments.refreshHoldings", |
| 443 | + "when": "never" |
| 444 | + }, |
| 445 | + { |
| 446 | + "command": "portfolioInstruments.refreshBenchmarks", |
| 447 | + "when": "never" |
| 448 | + }, |
| 449 | + { |
| 450 | + "command": "portfolioInstruments.refreshSnapshot", |
| 451 | + "when": "never" |
391 | 452 | } |
392 | 453 | ], |
393 | 454 | "view/item/context": [ |
|
506 | 567 | "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /snapshotItem/i", |
507 | 568 | "group": "1@1" |
508 | 569 | }, |
| 570 | + { |
| 571 | + "command": "portfolioInstruments.refreshSnapshot", |
| 572 | + "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /snapshotItem/i", |
| 573 | + "group": "z@0" |
| 574 | + }, |
509 | 575 | { |
510 | 576 | "command": "portfolioInstruments.updateMaturationStart", |
511 | 577 | "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /snapshotMaturationStartItem/i", |
|
580 | 646 | "command": "portfolioInstruments.undeprecate", |
581 | 647 | "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /benchmarkDeprecatedItem/i", |
582 | 648 | "group": "1@1" |
| 649 | + }, |
| 650 | + { |
| 651 | + "command": "portfolioInstruments.refreshSnapshots", |
| 652 | + "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /snapshotsItem/i", |
| 653 | + "group": "z@0" |
| 654 | + }, |
| 655 | + { |
| 656 | + "command": "portfolioInstruments.refreshAccounts", |
| 657 | + "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /accountsItem/i", |
| 658 | + "group": "z@0" |
| 659 | + }, |
| 660 | + { |
| 661 | + "command": "portfolioInstruments.refreshHoldings", |
| 662 | + "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /holdingsItem/i", |
| 663 | + "group": "z@0" |
| 664 | + }, |
| 665 | + { |
| 666 | + "command": "portfolioInstruments.refreshBenchmarks", |
| 667 | + "when": "view =~ /portfolioInstruments.main/i && viewItem =~ /benchmarksItem/i", |
| 668 | + "group": "z@0" |
583 | 669 | } |
584 | 670 | ], |
585 | 671 | "view/title": [ |
586 | 672 | { |
587 | 673 | "command": "portfolioInstruments.login", |
588 | 674 | "when": "view == portfolioInstruments.main", |
589 | | - "group": "navigation" |
| 675 | + "group": "navigation@1" |
590 | 676 | }, |
591 | 677 | { |
592 | 678 | "command": "portfolioInstruments.logoutAll", |
593 | 679 | "when": "view == portfolioInstruments.main", |
594 | | - "group": "navigation" |
| 680 | + "group": "navigation@2" |
| 681 | + }, |
| 682 | + { |
| 683 | + "command": "portfolioInstruments.collapseAll", |
| 684 | + "when": "view == portfolioInstruments.main", |
| 685 | + "group": "navigation@3" |
| 686 | + }, |
| 687 | + { |
| 688 | + "command": "portfolioInstruments.refresh", |
| 689 | + "when": "view == portfolioInstruments.main", |
| 690 | + "group": "navigation@4" |
595 | 691 | } |
596 | 692 | ] |
597 | 693 | } |
|
0 commit comments