-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Template literals with substitutions are auto-completed with too many backticks #132912
Comments
This is difficult to solve nicely.
Maybe the backtick should be autoclosed if the opening backtick was tokenized as string (overriding any word rule)? @alexdima |
This bug also occurs in Python, Ruby, and Swift. It does not occur in PHP, c#, and a couple of other languages. Strangely, those languages report the token type as a string, which makes no sense to me. |
This has been fixed by PR #135197 |
The PR #135197 improves things, and makes it unlikely that this case is hit, but this case remains: Pressing
|
Verified that in the example the first backtick is autocompleted, so I don't need to add a backtick at the problematic location. |
Does this issue occur when all extensions are disabled?: Yes
This only started occurring recently.
test.mov
The text was updated successfully, but these errors were encountered: