提交 b70c9308 编写于 作者: M Matt Bierner

Use async import for registering update paths

上级 6f440fcb
......@@ -98,7 +98,9 @@ export default class TypeScriptServiceClientHost extends Disposable {
this.languagePerId.set(description.id, manager);
}
this._register(registerUpdatePathsOnRename(this.client, this.fileConfigurationManager, uri => this.handles(uri)));
import('./features/updatePathsOnRename').then(module =>
this._register(module.register(this.client, this.fileConfigurationManager, uri => this.handles(uri))));
import('./features/workspaceSymbols').then(module =>
this._register(module.register(this.client, allModeIds)));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册