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 e428728 commit 1526161Copy full SHA for 1526161
src/extension.ts
@@ -34,6 +34,14 @@ export function activate(context: ExtensionContext) {
34
}
35
36
}),
37
+ workspace.onDidOpenTextDocument(async (document) => {
38
+ if (enabledLanguages.includes(document.languageId)) {
39
+ const validation = getAutoValidation(document);
40
+ if (validation === AutoValidation.ALWAYS) {
41
+ validations.set(document.uri, await provider.validate(document));
42
+ }
43
44
+ }),
45
workspace.onDidChangeTextDocument(async (event) => {
46
const document = event.document;
47
if (enabledLanguages.includes(document.languageId)) {
0 commit comments