AdamNiederer / ng2-mode

Angular Support for Emacs
GNU General Public License v3.0
73 stars 11 forks source link

Auto completion in templates #5

Closed altschuler closed 7 years ago

altschuler commented 7 years ago

Cool project! Is there a way to enable auto completion in templates?

AdamNiederer commented 7 years ago

If you're looking for syntactic completion, you'll need to write a company backend for Angular 2, which would probably require parsing your component files or connecting to a language server. I don't think that's within the scope of this project.

If you're just looking for heuristic autocompletion, you can enable company-mode in your templates and it'll work just like any other mode without a backend.