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 6ca96e0 commit 39a42bdCopy full SHA for 39a42bd
src/shared/extensions/yaml.ts
@@ -50,6 +50,8 @@ export async function activateYamlExtension(): Promise<YamlExtension | undefined
50
},
51
uri => {
52
try {
53
+ // SLOW: This request happens on every keystroke! (5MB+ read from filesystem).
54
+ // This is a design flaw in this registerContributor() API.
55
return readFileSync(vscode.Uri.parse(uri).fsPath).toString()
56
} catch (e) {
57
getLogger().error(`YAML Extension: failed to read schema URI "${uri}": ${e}`)
0 commit comments