diff --git a/docs/changelog-fragments.d/263.bugfix.md b/docs/changelog-fragments.d/263.bugfix.md new file mode 100644 index 00000000..2b8a2370 --- /dev/null +++ b/docs/changelog-fragments.d/263.bugfix.md @@ -0,0 +1,3 @@ +Fixed intermittent issue with execution environment for auto-completion and +hover by waiting for async function to copy plugins from within EE to local host +cache --{user}`ganeshrn`. diff --git a/src/services/executionEnvironment.ts b/src/services/executionEnvironment.ts index 387eac01..74fd92af 100644 --- a/src/services/executionEnvironment.ts +++ b/src/services/executionEnvironment.ts @@ -82,7 +82,7 @@ export class ExecutionEnvironment { ); return; } - this.fetchPluginDocs(); + await this.fetchPluginDocs(); } catch (error) { if (error instanceof Error) { this.connection.window.showErrorMessage(error.message);