mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-06 15:45:54 +01:00
make sure to register extension point early
This commit is contained in:
@@ -144,8 +144,8 @@ class SnippetsService implements ISnippetsService {
|
||||
@IFileService private readonly _fileService: IFileService,
|
||||
@ILifecycleService lifecycleService: ILifecycleService,
|
||||
) {
|
||||
this._initExtensionSnippets();
|
||||
this._pendingWork.push(Promise.resolve(lifecycleService.when(LifecyclePhase.Running).then(() => {
|
||||
this._initExtensionSnippets();
|
||||
this._initUserSnippets();
|
||||
this._initWorkspaceSnippets();
|
||||
})));
|
||||
|
||||
Reference in New Issue
Block a user