-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Grammars shouldn't be able to freeze VS Code #89916
Comments
This is a good suggestion. Here is the entire picture:
I share the frustration and I don't think a grammar should end up hanging VS Code, but I suggest we continue tracking #77140 Also, in any case, regardless of vs code hanging or not, the regex must be rewritten. This is ultimately a mistake in the grammar. Regexes which lead to catastrophic backtracking are poorly written regexes and must be rewritten. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I often get reports of hangs that are caused by a grammar. It would be better if we didn't force a restart of VS Code every time this happens.
From #89846
The text was updated successfully, but these errors were encountered: