File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
views/jobManager/selfCodes Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 562
562
"command" : " vscode-db2i.jobManager.focusContinue" ,
563
563
"title" : " Register Continue Provider" ,
564
564
"category" : " Db2 for i" ,
565
- "icon" : " $(star-full)"
565
+ "icon" : " $(star-full)" ,
566
+ "enablement" : " vscode-db2i:continueExtensionActive"
566
567
},
567
568
{
568
569
"command" : " vscode-db2i.jobManager.closeJob" ,
686
687
"command" : " vscode-db2i.self.explainSelf" ,
687
688
"title" : " Explain SELF Code with continue" ,
688
689
"category" : " Db2 for i" ,
689
- "icon" : " $(debug-alt)"
690
+ "icon" : " $(debug-alt)" ,
691
+ "enablement" : " vscode-db2i:continueExtensionActive"
690
692
},
691
693
{
692
694
"command" : " vscode-db2i.self.help" ,
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export async function registerContinueProvider() {
186
186
isContinueActive = true ;
187
187
const continueAPI = continueEx ?. exports ;
188
188
continueAPI ?. registerCustomContextProvider ( provider ) ;
189
- vscode . commands . executeCommand ( 'setContext' , 'continueExtensionActive' , true ) ;
189
+ vscode . commands . executeCommand ( 'setContext' , 'vscode-db2i: continueExtensionActive' , true ) ;
190
190
vscode . window . showInformationMessage ( `@Db2i context provider enabled in Continue!` ) ;
191
191
}
192
192
}
Original file line number Diff line number Diff line change 96
96
"command" : " vscode-db2i.self.explainSelf" ,
97
97
"title" : " Explain SELF Code with continue" ,
98
98
"category" : " Db2 for i" ,
99
- "icon" : " $(debug-alt)"
99
+ "icon" : " $(debug-alt)" ,
100
+ "enablement" : " vscode-db2i:continueExtensionActive"
100
101
},
101
102
{
102
103
"command" : " vscode-db2i.self.help" ,
157
158
{
158
159
"command" : " vscode-db2i.self.explainSelf" ,
159
160
"when" : " view == vscode-db2i.self.nodes && viewItem == selfCodeNode" ,
160
- "group" : " navigation"
161
+ "group" : " navigation" ,
162
+ "enablement" : " vscode-db2i:continueExtensionActive"
161
163
}
162
164
]
163
165
}
You can’t perform that action at this time.
0 commit comments