@@ -11,8 +11,7 @@ import { registerBaseCommands } from './commands/index';
11
11
import { TypeScriptServiceConfiguration } from './configuration/configuration' ;
12
12
import { BrowserServiceConfigurationProvider } from './configuration/configuration.browser' ;
13
13
import { ExperimentationTelemetryReporter , IExperimentationTelemetryReporter } from './experimentTelemetryReporter' ;
14
- import { AutoInstallerFs } from './filesystems/autoInstallerFs' ;
15
- import { MemFs } from './filesystems/memFs' ;
14
+ import { registerAtaSupport } from './filesystems/ata' ;
16
15
import { createLazyClientHost , lazilyActivateClient } from './lazyClientHost' ;
17
16
import { Logger } from './logging/logger' ;
18
17
import RemoteRepositories from './remoteRepositories.browser' ;
@@ -25,7 +24,7 @@ import { ITypeScriptVersionProvider, TypeScriptVersion, TypeScriptVersionSource
25
24
import { ActiveJsTsEditorTracker } from './ui/activeJsTsEditorTracker' ;
26
25
import { Disposable } from './utils/dispose' ;
27
26
import { getPackageInfo } from './utils/packageInfo' ;
28
- import { isWebAndHasSharedArrayBuffers , supportsReadableByteStreams } from './utils/platform' ;
27
+ import { isWebAndHasSharedArrayBuffers } from './utils/platform' ;
29
28
30
29
class StaticVersionProvider implements ITypeScriptVersionProvider {
31
30
@@ -102,16 +101,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<Api> {
102
101
await startPreloadWorkspaceContentsIfNeeded ( context , logger ) ;
103
102
} ) ) ;
104
103
105
- if ( supportsReadableByteStreams ( ) ) {
106
- context . subscriptions . push ( vscode . workspace . registerFileSystemProvider ( 'vscode-global-typings' , new MemFs ( ) , {
107
- isCaseSensitive : true ,
108
- isReadonly : false
109
- } ) ) ;
110
- context . subscriptions . push ( vscode . workspace . registerFileSystemProvider ( 'vscode-node-modules' , new AutoInstallerFs ( ) , {
111
- isCaseSensitive : true ,
112
- isReadonly : false
113
- } ) ) ;
114
- }
104
+ context . subscriptions . push ( registerAtaSupport ( ) ) ;
115
105
116
106
return getExtensionApi ( onCompletionAccepted . event , pluginManager ) ;
117
107
}
0 commit comments