Skip to content
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

Broken css completion since update #161

Open
BB-000 opened this issue Apr 20, 2021 · 1 comment
Open

Broken css completion since update #161

BB-000 opened this issue Apr 20, 2021 · 1 comment

Comments

@BB-000
Copy link

BB-000 commented Apr 20, 2021

Hi, unfortunately since the update this plugin seems to have become quite troublesome.

The 'fuzzy' autocompletion used to work almost perfectly, now it comes out with outrageous suggestions.

Not sure if there is some kind of clash with core sublime settings? I have minimal plugins (a few themes, syntax highlighting, text diff) so am sure it is not clashing with any of these.
Is there some sublime setting I need to change? I have restarted sublime and still the same issue occurs.

Screenshot of one example attached.

Help much appreciated as this is driving me a bit 🥜!

really

@sergeche
Copy link
Member

sergeche commented Jun 6, 2021

The idea Emmet itself is to use shortcuts for CSS properties (in your case, bc to produce border-color). If you type full CSS property, you don’t need Emmet at all, you can hit Esc to reset Emmet completion.

In your example, Emmet tried to match border agains known snippets, color in this case was used as value since - is a character used to separate values in abbreviation. The first closest match for border abbreviation was the one that expands to background-origin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants