We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154b4a2 commit ae6be79Copy full SHA for ae6be79
1 file changed
extensions/ql-vscode/src/config.ts
@@ -240,3 +240,12 @@ export class CliConfigListener extends ConfigListener implements CliConfig {
240
* want to enable experimental features, they can add them directly in
241
* their vscode settings json file.
242
*/
243
+
244
+/**
245
+ * Enables canary features of this extension. Recommended for all internal users.
246
+ */
247
+const CANARY_FEATURES = new Setting('canary', ROOT_SETTING);
248
249
+export function isCanary() {
250
+ return !!CANARY_FEATURES.getValue<boolean>();
251
+}
0 commit comments