Skip to content

Commit 1753b02

Browse files
authored
Remove experimental feature setting migration code (#3543)
1 parent 4f46519 commit 1753b02

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

vscode/src/extension.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export async function activate(context: vscode.ExtensionContext) {
2626
return;
2727
}
2828

29-
await migrateExperimentalFeaturesSetting();
30-
3129
const rbs = new RBS();
3230

3331
context.subscriptions.push(
@@ -50,21 +48,6 @@ export async function deactivate(): Promise<void> {
5048
await extension.deactivate();
5149
}
5250

53-
// Remove after ~2 months. This code migrates the old experimental features setting to the new feature flag rollout
54-
// setting
55-
async function migrateExperimentalFeaturesSetting() {
56-
const config = vscode.workspace.getConfiguration("rubyLsp");
57-
const experimentalFeatures = config.get("enableExperimentalFeatures");
58-
59-
if (experimentalFeatures) {
60-
// Remove the old setting
61-
await config.update("enableExperimentalFeatures", undefined, true);
62-
63-
// Add the new one
64-
await config.update("featureFlags", { all: true }, true);
65-
}
66-
}
67-
6851
async function createLogger(context: vscode.ExtensionContext) {
6952
let sender;
7053

0 commit comments

Comments
 (0)