From f246bd39a1114368cacb0c672e54d8ec1bd0f260 Mon Sep 17 00:00:00 2001 From: marc3lsk Date: Tue, 16 Jan 2018 16:15:36 +0100 Subject: [PATCH] support for "class" attribute in jsx --- src/extension.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/extension.ts b/src/extension.ts index c26fb5b..34f6200 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -152,6 +152,7 @@ export async function activate(context: ExtensionContext): Promise { // Javascript based extensions ['typescriptreact', 'javascript', 'javascriptreact'].forEach((extension) => { context.subscriptions.push(provideCompletionItemsGenerator(extension, /className=["|']([\w- ]*$)/)); + context.subscriptions.push(provideCompletionItemsGenerator(extension, /class=["|']([\w- ]*$)/)); }); // HTML based extensions