-
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
Intellisense Global Identifier suggestion prevents Emmet suggestions from appearing/working properly #66013
Comments
Thanks for reporting @webdevpchoi
For now, after step 4 (in your initial set of steps), when you see the Global identifier in the suggestion list, press escape to get rid of the suggestions, and keep typing. You will see the suggestions again and this time it will include emmet suggestions. Why is this happening? When user types The main root cause is #13735 which has been marked as out of scope. @octref To fix this particular case, we can update the vscode-emmet-helper to return |
@ramya-rao-a I think we need to trigger completion on |
Emmet completion provider is definitely triggered at this point.
Yes, thats what I mentioned in the previous comment.... |
@ramya-rao-a Nope, I meant on typing At this point, Emmet did not participate on first Although it does have completions, if you re-trigger it with Ctrl+Space. But I don't know what's a reliable way to tell if the |
User Setting:
Steps to Reproduce:
.js
file with language mode set as Javascript React.Inventory.js
).return
statement, try to use emmet abbreviation to create a<div className="inventory"></div>
Other methods I've tried:
.inventory
, which again, suggests the filename, so Emmet doesn't expand..inventory
, and that seemed to show the emmet suggsestion, instead of filename:Would love to know how to fix this!
Update: I don't have a solution, but I can recreate this solution in any .js file by first creating an opening and closing parenthesis, and then typing in a
.
after, like so:(.)
. This drops down a list of (no clue what this list is from...how can I turn off these suggestions, and where are they coming from?).Possible solution:
It looks like setting
"javascript.suggest.names": false
completely removes the dropdown list when using a period in a parenthesis, and allows me to also put in custom emmet abbreviations now within a return statement in a React component.Is there a better way than doing this?
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: