I'm new to emacs and trying to setup emacs for ES6/React developement. I would like to have auto suggestions for es6 imports like lodash similar to vscode (as shown in screenshot). Is there a way to acheive this in emacs?

  • I don't use such fancy features, but you might be able to get these suggestions using some LSP solution or tern.
    – user12563
    Commented Jun 11, 2019 at 18:01

1 Answer 1


As DoMiNeLa10♦ metioned, lsp-mode can do this:


You should install typescript-language-server in your system and lsp-mode, js2-mode, autocomplete in your emacs. You can check these link for more details.



Or you can check my emacs.d file: https://github.com/RezoChiang/prelude

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.