Company mode and JavaScript (can't find company-js
)
#1424
-
Hi! I was just wondering why there doesn't seem to be a (apologies if this is answered already- a search for "javascript" in discussion did not yield helpful results) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Update: the vanilla |
Beta Was this translation helpful? Give feedback.
-
Hi! Only a minority of the built-in backends are language-specific ones. And we often try to migrate those into the respective major modes (as has already happened with company-elisp and company-css). For JavaScript, you can keep using one of the built-in ones (dabbrev-code or etags) if it's a smaller project and/or you know how to generate a TAGS file (and like that approach, which it not everyone's cup of tea), or install one of the available LSP clients for richer experience (eglot or lsp-mode): they plug into Company for completion UI. |
Beta Was this translation helpful? Give feedback.
Hi! Only a minority of the built-in backends are language-specific ones. And we often try to migrate those into the respective major modes (as has already happened with company-elisp and company-css).
For JavaScript, you can keep using one of the built-in ones (dabbrev-code or etags) if it's a smaller project and/or you know how to generate a TAGS file (and like that approach, which it not everyone's cup of tea), or install one of the available LSP clients for richer experience (eglot or lsp-mode): they plug into Company for completion UI.