-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension host freezing when trying to rename tag with space on the end #18
Comments
Could not repro in my side. Could you please disable all other extensions and try again? And then, disable this extension and try again? |
@formulahendry, I did disable all my extensions. I have even tried debugging the extension by forking the project and was planning on creating a pull request if I managed to fix it, but didn't come up with anything. This happens for me in both the insiders build and the stable release. |
It's important to notice that when I say "the extension host will freeze", I don't mean the application freezes, but the extension HOST freezes. You can still type and do stuff in the application, but all extensions will break. Check your task manager and you will notice that visual studio code will take up a lot of CPU usage after you do what I described in the first post. |
Got it! Thanks for the detailed info! I will take a look when I have time. If you have any findings to fix it, PR is very welcome! |
If you try to edit a tag that happens to have a space before the
>
, it will freeze the entire extension host and stop working completely. It will also increase CPU usage significantly. I assume there's an infinite loop going on somewhere?Try creating an empty html file with these contents:
Then try editing the path tag. The extension host will freeze. This happens regardless if you use
/>
or></path>
, as long as there is a space before.The text was updated successfully, but these errors were encountered: