Skip to content
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

VS Code freezes after you type ${ #16

Open
mmicheux opened this issue Aug 8, 2018 · 7 comments
Open

VS Code freezes after you type ${ #16

mmicheux opened this issue Aug 8, 2018 · 7 comments
Assignees
Labels

Comments

@mmicheux
Copy link

mmicheux commented Aug 8, 2018

Per the below site, VS Code freezes when you ${ and there is no closing }.

microsoft/vscode#52886

@dcortes92 dcortes92 added the bug label Aug 9, 2018
@dcortes92
Copy link
Owner

Hi @mmicheux, thanks for submitting your issue. I was able to reproduce this on both Windows and OS X and I will start working on a fix ASAP.

@JPeer264
Copy link

Seems like it is just freezing when the text is getting too long.

@dcortes92 I am not really familiar with vscode extensions, but with regex. So is this line responsible for this? If so, I could try to rewrite it.

@JPeer264
Copy link

JPeer264 commented Oct 31, 2018

@dcortes92 you think following would work as regex: (\${\s*[\S\s]*?\s*})?

This matches everything between ${ and } including linebreaks. Maybe the long regex is also the cause of the mighty freeze, as the long regex checks a lot when there is no closing tag.

@gorfo66
Copy link

gorfo66 commented Nov 7, 2018

I have the same issue. I needed to uninstall the extension in order to continue working on my freemarker templates, which is counter productive.

@AndrewSkinner
Copy link

Has anyone found any workarounds for this? I began experiencing this issue as well and have had to uninstall the plugin as well.

@ethan-dowler
Copy link

ethan-dowler commented Jan 25, 2019

I just experienced this issue and have uninstalled the plugin to get around it. In my case, I was missing a closing } for one of my curly brace pairs.

@vivekpatel111
Copy link

What's current status?

This is serious issue. Working on MBP with 16 GB ram and still freezing. Uninstalling this until issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants