Skip to content

Commit ed2810e

Browse files
committed
try to fix suggestions crash because no configuration receivied
we can't know: 1. Wether plugin is active and it received configuration 2. When it becomes active and ready to do it
1 parent 4c27a0f commit ed2810e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ export const activate = async () => {
2121
if (affectsConfiguration(process.env.IDS_PREFIX!)) syncConfig()
2222
})
2323
syncConfig()
24+
setTimeout(() => syncConfig(), 500)
25+
setTimeout(() => syncConfig(), 1500)
2426
}

0 commit comments

Comments
 (0)