-
Notifications
You must be signed in to change notification settings - Fork 264
Autocompletion of variables in LESS not working properly #411
Comments
@mmcbride1007 have you tried setting |
I had not, but I just tried (changed preference and reloaded Atom) and got the same result. |
Pictures tell a thousand words. Got any screenshots? What version of autocomplete-plus and atom are you using? |
The ultimate solution here is for someone (hello @kevinsawicki?) to write a LESS provider for autocomplete-plus, similar to the CSS provider: https://github.com/atom/autocomplete-css. Alternatively, autocomplete-css seems to cater (at least partially) to scss, so perhaps it would be helpful to extend autocomplete-css to work on .less files also. |
Could you also please post the output of |
... And how much of a burden would it be to post a gist with the contents of that file? Not essential, but certainly helpful. |
/cc @benogle |
What happens if you disable:
Do things start working as expected then? If so, try enabling them one-by-one (disabling the others) until you can identify the conflicting package. I'm particularly interested in emmet and vim-mode. Oh, make sure you restart after disabling them, just in case one of them is misbehaving in their deactivate function. |
Cool, I'll check that. I disabled vim-mode thinking that might do it a while ago but no luck. Emmet very well might be the culprit... stay tuned |
Yep, the emmet package seems to be causing it. Good to know. Is this something we try to fix? Should I open an issue on that repo instead? |
I suspect this has something to do with a conflict on the keybinding. I assume you're using |
Thanks a ton! Yeah I am using |
When I am writing in a LESS file I am unable to autocomplete on variable names. For example, if my variable name is
@primaryColor
, if I type@prima
then presstab
, I get@prima:
instead of it completing@primaryColor
.The text was updated successfully, but these errors were encountered: