MCPcopy Create free account
hub / github.com/continuedev/continue / getIdeSettingsSync

Method getIdeSettingsSync

extensions/vscode/src/VsCodeIde.ts:679–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

677 }
678
679 private getIdeSettingsSync(): IdeSettings {
680 const settings = vscode.workspace.getConfiguration(EXTENSION_NAME);
681 const remoteConfigServerUrl = settings.get<string | undefined>(
682 "remoteConfigServerUrl",
683 undefined,
684 );
685 const ideSettings: IdeSettings = {
686 remoteConfigServerUrl,
687 remoteConfigSyncPeriod: settings.get<number>(
688 "remoteConfigSyncPeriod",
689 60,
690 ),
691 userToken: settings.get<string>("userToken", ""),
692 continueTestEnvironment: "production",
693 pauseCodebaseIndexOnStart: settings.get<boolean>(
694 "pauseCodebaseIndexOnStart",
695 false,
696 ),
697 };
698 return ideSettings;
699 }
700
701 async getIdeSettings(): Promise<IdeSettings> {
702 const ideSettings = this.getIdeSettingsSync();

Callers 1

getIdeSettingsMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected