|
523 | 523 | }, |
524 | 524 | { |
525 | 525 | "command": "codeQLQueryHistory.openQuery", |
526 | | - "title": "Open Query", |
| 526 | + "title": "View Query", |
527 | 527 | "icon": "$(edit)" |
528 | 528 | }, |
529 | 529 | { |
|
533 | 533 | }, |
534 | 534 | { |
535 | 535 | "command": "codeQLQueryHistory.removeHistoryItem", |
536 | | - "title": "Remove from History", |
| 536 | + "title": "Delete", |
537 | 537 | "icon": "$(trash)" |
538 | 538 | }, |
539 | 539 | { |
|
550 | 550 | }, |
551 | 551 | { |
552 | 552 | "command": "codeQLQueryHistory.showQueryLog", |
553 | | - "title": "Show Query Log" |
| 553 | + "title": "View Query Log" |
554 | 554 | }, |
555 | 555 | { |
556 | 556 | "command": "codeQLQueryHistory.openQueryDirectory", |
557 | | - "title": "Open Query Directory" |
| 557 | + "title": "Open Results Directory" |
558 | 558 | }, |
559 | 559 | { |
560 | 560 | "command": "codeQLQueryHistory.showEvalLog", |
|
574 | 574 | }, |
575 | 575 | { |
576 | 576 | "command": "codeQLQueryHistory.showQueryText", |
577 | | - "title": "Show Query Text" |
| 577 | + "title": "View Query Text" |
578 | 578 | }, |
579 | 579 | { |
580 | 580 | "command": "codeQLQueryHistory.exportResults", |
|
597 | 597 | "title": "View DIL" |
598 | 598 | }, |
599 | 599 | { |
600 | | - "command": "codeQLQueryHistory.setLabel", |
601 | | - "title": "Set Label" |
| 600 | + "command": "codeQLQueryHistory.renameItem", |
| 601 | + "title": "Rename" |
602 | 602 | }, |
603 | 603 | { |
604 | 604 | "command": "codeQLQueryHistory.compareWith", |
605 | 605 | "title": "Compare Results" |
606 | 606 | }, |
607 | 607 | { |
608 | 608 | "command": "codeQLQueryHistory.openOnGithub", |
609 | | - "title": "Open Variant Analysis on GitHub" |
| 609 | + "title": "View Logs" |
610 | 610 | }, |
611 | 611 | { |
612 | 612 | "command": "codeQLQueryHistory.copyRepoList", |
|
827 | 827 | }, |
828 | 828 | { |
829 | 829 | "command": "codeQLQueryHistory.openQuery", |
830 | | - "group": "9_qlCommands", |
| 830 | + "group": "2_queryHistory@0", |
831 | 831 | "when": "view == codeQLQueryHistory" |
832 | 832 | }, |
833 | 833 | { |
834 | 834 | "command": "codeQLQueryHistory.removeHistoryItem", |
835 | | - "group": "9_qlCommands", |
| 835 | + "group": "7_queryHistory@0", |
836 | 836 | "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
837 | 837 | }, |
838 | 838 | { |
839 | | - "command": "codeQLQueryHistory.setLabel", |
840 | | - "group": "9_qlCommands", |
| 839 | + "command": "codeQLQueryHistory.renameItem", |
| 840 | + "group": "6_queryHistory@0", |
841 | 841 | "when": "view == codeQLQueryHistory" |
842 | 842 | }, |
843 | 843 | { |
844 | 844 | "command": "codeQLQueryHistory.compareWith", |
845 | | - "group": "9_qlCommands", |
| 845 | + "group": "3_queryHistory@0", |
846 | 846 | "when": "viewItem == rawResultsItem || viewItem == interpretedResultsItem" |
847 | 847 | }, |
848 | 848 | { |
849 | 849 | "command": "codeQLQueryHistory.showQueryLog", |
850 | | - "group": "9_qlCommands", |
| 850 | + "group": "4_queryHistory@4", |
851 | 851 | "when": "viewItem == rawResultsItem || viewItem == interpretedResultsItem" |
852 | 852 | }, |
853 | 853 | { |
854 | 854 | "command": "codeQLQueryHistory.openQueryDirectory", |
855 | | - "group": "9_qlCommands", |
| 855 | + "group": "2_queryHistory@4", |
856 | 856 | "when": "view == codeQLQueryHistory && !hasRemoteServer" |
857 | 857 | }, |
858 | 858 | { |
859 | 859 | "command": "codeQLQueryHistory.showEvalLog", |
860 | | - "group": "9_qlCommands", |
| 860 | + "group": "4_queryHistory@1", |
861 | 861 | "when": "codeql.supportsEvalLog && viewItem == rawResultsItem || codeql.supportsEvalLog && viewItem == interpretedResultsItem || codeql.supportsEvalLog && viewItem == cancelledResultsItem" |
862 | 862 | }, |
863 | 863 | { |
864 | 864 | "command": "codeQLQueryHistory.showEvalLogSummary", |
865 | | - "group": "9_qlCommands", |
| 865 | + "group": "4_queryHistory@2", |
866 | 866 | "when": "codeql.supportsEvalLog && viewItem == rawResultsItem || codeql.supportsEvalLog && viewItem == interpretedResultsItem || codeql.supportsEvalLog && viewItem == cancelledResultsItem" |
867 | 867 | }, |
868 | 868 | { |
869 | 869 | "command": "codeQLQueryHistory.showEvalLogViewer", |
870 | | - "group": "9_qlCommands", |
| 870 | + "group": "4_queryHistory@3", |
871 | 871 | "when": "config.codeQL.canary && codeql.supportsEvalLog && viewItem == rawResultsItem || config.codeQL.canary && codeql.supportsEvalLog && viewItem == interpretedResultsItem || config.codeQL.canary && codeql.supportsEvalLog && viewItem == cancelledResultsItem" |
872 | 872 | }, |
873 | 873 | { |
874 | 874 | "command": "codeQLQueryHistory.showQueryText", |
875 | | - "group": "9_qlCommands", |
| 875 | + "group": "2_queryHistory@2", |
876 | 876 | "when": "view == codeQLQueryHistory" |
877 | 877 | }, |
878 | 878 | { |
879 | 879 | "command": "codeQLQueryHistory.exportResults", |
880 | | - "group": "9_qlCommands", |
| 880 | + "group": "1_queryHistory@0", |
881 | 881 | "when": "view == codeQLQueryHistory && viewItem == remoteResultsItem" |
882 | 882 | }, |
883 | 883 | { |
|
887 | 887 | }, |
888 | 888 | { |
889 | 889 | "command": "codeQLQueryHistory.viewCsvAlerts", |
890 | | - "group": "9_qlCommands", |
| 890 | + "group": "5_queryHistory@0", |
891 | 891 | "when": "viewItem == interpretedResultsItem" |
892 | 892 | }, |
893 | 893 | { |
894 | 894 | "command": "codeQLQueryHistory.viewSarifAlerts", |
895 | | - "group": "9_qlCommands", |
| 895 | + "group": "5_queryHistory@1", |
896 | 896 | "when": "viewItem == interpretedResultsItem" |
897 | 897 | }, |
898 | 898 | { |
899 | 899 | "command": "codeQLQueryHistory.viewDil", |
900 | | - "group": "9_qlCommands", |
| 900 | + "group": "5_queryHistory@2", |
901 | 901 | "when": "viewItem == rawResultsItem || viewItem == interpretedResultsItem" |
902 | 902 | }, |
903 | 903 | { |
|
907 | 907 | }, |
908 | 908 | { |
909 | 909 | "command": "codeQLQueryHistory.openOnGithub", |
910 | | - "group": "9_qlCommands", |
| 910 | + "group": "2_queryHistory@3", |
911 | 911 | "when": "viewItem == remoteResultsItem || viewItem == inProgressRemoteResultsItem || viewItem == cancelledRemoteResultsItem" |
912 | 912 | }, |
913 | 913 | { |
914 | 914 | "command": "codeQLQueryHistory.copyRepoList", |
915 | | - "group": "9_qlCommands", |
| 915 | + "group": "1_queryHistory@1", |
916 | 916 | "when": "viewItem == remoteResultsItem" |
917 | 917 | }, |
918 | 918 | { |
|
1160 | 1160 | "when": "false" |
1161 | 1161 | }, |
1162 | 1162 | { |
1163 | | - "command": "codeQLQueryHistory.setLabel", |
| 1163 | + "command": "codeQLQueryHistory.renameItem", |
1164 | 1164 | "when": "false" |
1165 | 1165 | }, |
1166 | 1166 | { |
|
0 commit comments