mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Still register tsconfig features with tsgo
For https://github.com/microsoft/typescript-go/issues/2153
This commit is contained in:
@@ -53,6 +53,12 @@ export function activate(
|
||||
new ExperimentationService(experimentTelemetryReporter, id, version, context.globalState);
|
||||
}
|
||||
|
||||
// Register features that work in both TSGO and non-TSGO modes
|
||||
import('./languageFeatures/tsconfig').then(module => {
|
||||
context.subscriptions.push(module.register());
|
||||
});
|
||||
|
||||
// Conditionally register features based on whether TSGO is enabled
|
||||
context.subscriptions.push(conditionalRegistration([
|
||||
requireGlobalConfiguration('typescript', 'experimental.useTsgo'),
|
||||
requireHasVsCodeExtension(tsNativeExtensionId),
|
||||
@@ -95,10 +101,6 @@ export function activate(
|
||||
disposables.add(module.register(new Lazy(() => lazyClientHost.value.serviceClient)));
|
||||
});
|
||||
|
||||
import('./languageFeatures/tsconfig').then(module => {
|
||||
disposables.add(module.register());
|
||||
});
|
||||
|
||||
disposables.add(lazilyActivateClient(lazyClientHost, pluginManager, activeJsTsEditorTracker));
|
||||
|
||||
return disposables;
|
||||
|
||||
Reference in New Issue
Block a user