We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62d4c1 commit ac9a420Copy full SHA for ac9a420
web/src/components/features/workspace/CodeEditor/autocomplete/base.ts
@@ -56,6 +56,8 @@ export abstract class CacheBasedCompletionProvider<TQuery> implements monaco.lan
56
if (this.isWarmUp) {
57
return true
58
}
59
+
60
+ return await this.langWorker.isWarmUp()
61
62
63
async provideCompletionItems(
@@ -78,6 +80,7 @@ export abstract class CacheBasedCompletionProvider<TQuery> implements monaco.lan
78
80
const suggestions = await this.querySuggestions(query)
79
81
82
if (!isCacheReady) {
83
+ this.isWarmUp = true
84
this.dispatch(newRemoveNotificationAction(notificationId))
85
86
0 commit comments