formulahendry / vscode-auto-rename-tag

Automatically rename paired HTML/XML tag
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag
MIT License
259 stars 36 forks source link

Support MDX files #619

Closed controversial closed 1 year ago

controversial commented 1 year ago

It would be great to support auto-renaming in MDX files (since it’s implemented for both .jsx/.tsx files, and for .md files; .mdx simply combines the syntax of both).

I have the default (["*"]; all languages) setting for “auto-rename-tag.activationOnLanguage” but MDX files still don’t seem to support auto-renaming tags via this extension.

controversial commented 1 year ago

Never mind, this works properly—the problem was that I didn't have .mdx files listed in the “include” section of my tsconfig.json