-
Notifications
You must be signed in to change notification settings - Fork 118
Emmet auto completing HTML tags instead of CSS #191
Comments
bump-up! |
bump again |
bump up again |
bumped-up x2 |
yea |
This comment has been minimized.
This comment has been minimized.
I cannot reproduce this, i get the css options first and emmet only if nothing else matches. |
Can confirm this is still occurring on both latest version of Code and Insiders, using the latest version of of vscode-styled-components. It only happens if you are working in a file with a JSX/TSX extension or have the language mode set to JavaScript React or TypeScript React. |
@chuckhendo i have the suggestions but they’re below all the css ones so it’s not much of an issue for me. Do you see something different? |
@jasonwilliams anything with the colon syntax seems to cause it. For example, |
the problem is still relevant. Are there any plans to fix these errors? |
@jt3k we're not sure how possible it is to stop emmet placing tags there so that's why nothing has happened yet. |
@jasonwilliams I'm going to try to find some time to take a look at it. Can this issue be reopened? |
Edit: I thought this was an issue, but I had a semicolon by accident... |
Same problem here. Emmet abbreviation take primary precedence. |
👋 @jrieken do you know how we can override emmet or decrease it’s priority in this situation? |
This comment has been minimized.
This comment has been minimized.
For us all extensions are equal and therefore one extension cannot "mute" another extension. To me it looks like an emmet bug, it should not suggest |
/cc @rzhao271 |
how long should we wait?
It cannot be used. |
@jt3k please stop spamming this thread asking when is it going to be fixed. People are looking into it, your comments aren’t helping. If you’re willing to contribute we’ll accept PRs to update the readme |
@jt3k For the |
Here's a small fix, add this in your settings.json:
|
works perfect |
Can someone confirm this has fixed the issue microsoft/vscode#119736 if so I’ll close this |
at the moment the problem is still relevant. |
Yes, this is the only downside to this solution. Snippets appear at the bottom because ultimately, this is not a fix but just a simple workaround. This is why we still need a solid fix for this problem. |
@NayamAmarshe @jt3k are you able to set up a small repo to use as a test case for this? I can’t reproduce this issue so it would help if we’re all looking at the same thing. This would really help push this forward |
I have commented on the upstream issue with repro steps and the root cause: microsoft/vscode#119736 (comment). |
After trying all the suggestions in this thread, none of them worked, but I realized that the auto-completion to HTML only happened when the suggestion box was shown (press "emmet.triggerExpansionOnTab": true,
"emmet.showExpandedAbbreviation": "never" |
I was facing the same issue after my VS Code automatically upgraded to Just to confirm that the issue was with the latest version, I downgraded my VS Code version to the below one and the
So seems like the this extension has some bugs with the latest VS Code version |
@kalal-rahul your issue is probably #387 |
How can I stop emmet from putting tags into my styled components
I have put this into my
settings.json
The text was updated successfully, but these errors were encountered: