vscode-auto-close-tag
vscode-auto-close-tag copied to clipboard
Editing/Saving SVG file crashes CodeHelper process
- VSCode Version 1.27.2
- MacOS Version 10.13.6
- Auto Close Tag Version 0.5.6
Note: I don't know if the issue is isolated to MacOS.
I'm uncertain if it happens on save or while editing, but I do know that the effects are visible after saving. The issue occurs 80% of the time when following the steps to reproduce.
After saving any .svg
file, my MacBook's fan starts up. Checking the ActivityMonitor app, there is a CodeHelper process hovering around 100% CPU, even after quitting VSCode. I need to kill the process manually to stop it.
If I open a file and save it, then open another and save that one, I have two stuck processes at 100% CPU each. Although I haven't investigated this behaviour further, it leads me to assume that each file opened then saved will create another process that crashes.
Steps to Reproduce:
- Open an SVG file (by default, VSCode sets the language to XML)
- Make an edit (like adding a space or a newline)
- Save the file
Troubleshooting steps:
- Disable all extensions
- Repeat steps to reproduce (issue no longer present)
- Enable only Auto Close Tag extension
- Repeat steps to reproduce (issue is back)
Temporary solution:
- Remove
xml
from theauto-close-tag.activationOnLanguage
setting.