-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Intellisense Completion doesn't respect space after equal sign (.html file) #29353
Comments
Update: same thing if typing |
@jrieken This looks like a bug in code assist:
|
I checked that this issue is also present in 1.13.1. |
Hm, that came in when fixing #26096 which was about ignore whitespace in some cases... |
Also a little unhappy because when having requested intellisense explicit via Ctrl+Space we don't hide the box when nothing matches anymore. So, even after fixing the filtering you will see the exact same behaviour. This issue is actually half as-designed and half a bug. Not sure what to do |
I have pushed changes to cancel intellisense when non-word characters are being typed when otherwise go to the frozen state. That fixes this issue, the IntelliSense window closes after typing space. |
Steps to Reproduce:
const abc = 5;
const def =
. Intellisense will pop up. Press the space key to place a space after the equal sign.ab
to filter the list to theabc
variable from the previous line. Press Enter or Tab to select that item.const def =abc
. Ideally even if you didn't put a space after the equal, it should for you, but that's a stylistic issue.Notes: I tried the same thing in a (.js) file and it did not happen.
The text was updated successfully, but these errors were encountered: