Skip to content

Commit f246bd3

Browse files
author
marc3lsk
committed
support for "class" attribute in jsx
1 parent 40bc23a commit f246bd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
152152
// Javascript based extensions
153153
['typescriptreact', 'javascript', 'javascriptreact'].forEach((extension) => {
154154
context.subscriptions.push(provideCompletionItemsGenerator(extension, /className=["|']([\w- ]*$)/));
155+
context.subscriptions.push(provideCompletionItemsGenerator(extension, /class=["|']([\w- ]*$)/));
155156
});
156157

157158
// HTML based extensions

0 commit comments

Comments
 (0)