antonj / scss-mode

Emacs mode for SCSS files (http://sass-lang.com)
200 stars 39 forks source link

auto complete and YASnippet #16

Open arianitu opened 11 years ago

arianitu commented 11 years ago

If you're in normal css mode and have YASnippet and auto complete installed, it works.

Under scss-mode, auto complete appears not to work at all. Is there a way to make it so auto complete works in scss mode with YASnippet?

arianitu commented 11 years ago

Copying the snippets into scss-mode does not appear to work either.

I see both of them in the YASnippet menu, but somehow they're being suppressed by the mode and I get no tab completion.

antonj commented 11 years ago

I get snippets from both scss-mode and css-mode working fine while in scss-mode try expanding a snippet with M-x yas/expand, the only keybinding scss-mode defines is C-c C-c as long as you are not using that one yasnippet should work as expected.

I'm not sure about auto complete though, I'm not using it that much so I'll have a hard time testing.

jxs commented 11 years ago

i am also having this problem, auto complete doesn't work under scss-mode the function which completes is complete-symbol yasnippet works though