diff --git a/package.json b/package.json index fc8b314..3a782df 100644 --- a/package.json +++ b/package.json @@ -3251,25 +3251,18 @@ "scope": "window", "order": 50 }, + "gitlens.virtualRepositories.enabled": { + "type": "boolean", + "default": true, + "markdownDescription": "Specifies whether to enable virtual repositories support", + "scope": "window", + "order": 70 + }, "gitlens.insiders": { "deprecationMessage": "Deprecated. Use the Insiders edition of GitLens instead", "markdownDeprecationMessage": "Deprecated. Use the [Insiders edition](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens-insiders) of GitLens instead" } } - }, - { - "id": "experimental", - "title": "Experimental", - "order": 9999, - "properties": { - "gitlens.experimental.virtualRepositories.enabled": { - "type": "boolean", - "default": false, - "markdownDescription": "Specifies whether to enable the experimental virtual repositories support", - "scope": "window", - "order": 0 - } - } } ], "configurationDefaults": { diff --git a/src/config.ts b/src/config.ts index e6cf142..415693e 100644 --- a/src/config.ts +++ b/src/config.ts @@ -41,11 +41,6 @@ export interface Config { defaultGravatarsStyle: GravatarDefaultStyle; defaultTimeFormat: DateTimeFormat | string | null; detectNestedRepositories: boolean; - experimental: { - virtualRepositories: { - enabled: boolean; - }; - }; fileAnnotations: { command: string | null; }; @@ -148,6 +143,9 @@ export interface Config { enabled: boolean; }; views: ViewsConfig; + virtualRepositories: { + enabled: boolean; + }; visualHistory: { queryLimit: number; }; diff --git a/src/env/node/providers.ts b/src/env/node/providers.ts index ad70ae2..6bf3ad3 100644 --- a/src/env/node/providers.ts +++ b/src/env/node/providers.ts @@ -26,7 +26,7 @@ export async function getSupportedGitProviders(container: Container): Promise