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

Extension "Auto Rename Tag auto rename paired HTML/XML tag " Interferes with Markdown Preview Functionality in VSCode #634

Open baguswry2001 opened 1 month ago

baguswry2001 commented 1 month ago

Description: I am experiencing an issue with Visual Studio Code (VSCode) where the Markdown preview functionality is not working correctly. After investigating, I discovered that this issue is caused by the "Auto Rename Tag auto rename paired HTML/XML tag" extension.

Error Message: "Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state." Condition: The Markdown preview does not appear or functions incorrectly when the "Auto Rename Tag for HTML/XML" extension is enabled. Steps Taken: Disabled all extensions, and the Markdown preview worked correctly. Enabled extensions one by one to identify the cause. Determined that the "Auto Rename Tag auto rename paired HTML/XML tag" extension is causing the issue. Requirement:

I rely heavily on this extension for HTML autocompletion. I am reporting this issue in hopes of finding a solution or update that may resolve the conflict between this extension and the Markdown preview functionality. Steps to Reproduce the Issue:

Install the "Auto Rename Tag auto rename paired HTML/XML tag" extension. Open a Markdown file (.md) in VSCode. Attempt to access the Markdown preview using VSCode's built-in feature. Observe that the preview does not appear or encounters the aforementioned issue. Environment:

VSCode Version: 1.92.1 Operating System: win 10 64 I hope this report helps in identifying and resolving the issue. Thank you for your attention and assistance.