|
46 | 46 | "onCommand:codeQL.setCurrentDatabase", |
47 | 47 | "onCommand:codeQL.viewAst", |
48 | 48 | "onCommand:codeQL.openReferencedFile", |
| 49 | + "onCommand:codeQL.previewQueryHelp", |
49 | 50 | "onCommand:codeQL.chooseDatabaseFolder", |
50 | 51 | "onCommand:codeQL.chooseDatabaseArchive", |
51 | 52 | "onCommand:codeQL.chooseDatabaseInternet", |
|
295 | 296 | "command": "codeQL.openReferencedFile", |
296 | 297 | "title": "CodeQL: Open Referenced File" |
297 | 298 | }, |
| 299 | + { |
| 300 | + "command": "codeQL.previewQueryHelp", |
| 301 | + "title": "CodeQL: Preview Query Help File" |
| 302 | + }, |
298 | 303 | { |
299 | 304 | "command": "codeQL.quickQuery", |
300 | 305 | "title": "CodeQL: Quick Query" |
|
681 | 686 | "group": "9_qlCommands", |
682 | 687 | "when": "view == codeQLQueryHistory" |
683 | 688 | }, |
| 689 | + { |
| 690 | + "command": "codeQL.previewQueryHelp", |
| 691 | + "group": "9_qlCommands", |
| 692 | + "when": "resourceScheme == .qhelp" |
| 693 | + }, |
684 | 694 | { |
685 | 695 | "command": "codeQLTests.showOutputDifferences", |
686 | 696 | "group": "qltest@1", |
|
712 | 722 | "command": "codeQL.openReferencedFile", |
713 | 723 | "group": "9_qlCommands", |
714 | 724 | "when": "resourceExtname == .qlref" |
| 725 | + }, |
| 726 | + { |
| 727 | + "command": "codeQL.previewQueryHelp", |
| 728 | + "group": "9_qlCommands", |
| 729 | + "when": "resourceExtname == .qhelp" |
715 | 730 | } |
716 | 731 | ], |
717 | 732 | "commandPalette": [ |
|
743 | 758 | "command": "codeQL.openReferencedFile", |
744 | 759 | "when": "resourceExtname == .qlref" |
745 | 760 | }, |
| 761 | + { |
| 762 | + "command": "codeQL.previewQueryHelp", |
| 763 | + "when": "resourceExtname == .qhelp" |
| 764 | + }, |
746 | 765 | { |
747 | 766 | "command": "codeQL.setCurrentDatabase", |
748 | 767 | "when": "false" |
|
900 | 919 | { |
901 | 920 | "command": "codeQL.openReferencedFile", |
902 | 921 | "when": "resourceExtname == .qlref" |
| 922 | + }, |
| 923 | + { |
| 924 | + "command": "codeQL.previewQueryHelp", |
| 925 | + "when": "resourceExtname == .qhelp" |
903 | 926 | } |
904 | 927 | ] |
905 | 928 | }, |
|
0 commit comments