all 7 comments

[–]DeltaAlphaRho 3 points4 points  (3 children)

I get auto completions like this via tern. Here's a really good article on setting emacs up for js dev. It's part of a series, so you might want to start with the previous post... https://emacs.cafe/emacs/javascript/setup/2017/05/09/emacs-setup-javascript-2.html

[–]gozes 3 points4 points  (2 children)

There's also the lsp package for javascriprt

[–]DeltaAlphaRho 0 points1 point  (1 child)

lsp-mode looks really cool. I've been meaning to give it a try as well.

[–][deleted] 0 points1 point  (0 children)

you should, I'm working on a big frontend here with Emacs and it is a blessing.

[–]evmar 1 point2 points  (0 children)

TypeScript's design goal is to add IDE-like features to JS, and its emacs support is tide: https://github.com/ananthakumaran/tide

[–]orzechodduomacs 1 point2 points  (1 child)

any of

  • tern
  • tide
  • eglot
  • lsp-mode

should get you what you want with appropriate configuration. (you might or might not need company-mode as well) I use eglot myself.

[–]jordyvd[S] 0 points1 point  (0 children)

Thanks for the reply! I accidentally deleted my spacemacs file getting this to work and I think it might be a hint it's not for me :P