We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 698564d commit 5312e00Copy full SHA for 5312e00
src/extension.ts
@@ -261,12 +261,12 @@ export function activate(context: ExtensionContext) {
261
.then(() => {
262
setTimeout(() => {
263
diplomat.pushParameters(context).then(() => dataprovider.refresh())
264
+ // Elements may use this variable to toggle visibility on extension availability.
265
+ void commands.executeCommand('setContext', 'diplomat-host:enabled', true);
266
+ console.log('Diplomat activation completed');
267
},500)
268
});
269
- // Elements may use this variable to toggle visibility on extension availability.
- void commands.executeCommand('setContext', 'diplomat-host:enabled', true);
- console.log('Diplomat activation completed');
270
}
271
272
0 commit comments