Am new to Emacs and am using Spacemacs, Emacs mode. After following the basic Emacs tutorial, I create an html file and try to use emacs for code editing. So I installed the html layer, after activating emmet-mode, it still stuck at web-mode. And I got any autocompletion. Like typing :.my-class
+ TAB don't generate any code.
1 Answer
You need to enable/configure auto-completion
mode perhaps?
-
-
2
web-mode
should aromatically enableemmet
, if I am not mistaken. At least I did not add anything special, aside from my emmet configuration. Try this: restart emacs.M-m
orspace
depending on edit mode, thenf
->J
, then enter HTML as extension. Then try from scratch.– MaDhAt2rMay 25, 2016 at 18:28 -
Also, what engine are you using for autocomplete, company (suggested) or auto-complete? And did you enable it globally?
(global-company-mode)
in thedotspacemacs/user-config
?– MaDhAt2rMay 25, 2016 at 18:32 -