Open a command prompt and run:
Note the path where Tern is installed:
Add the tern-command line below to the .spacemacs file in your home directory (but modify the path to be where Tern was installed on your system):
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration. You are free to put any user code."
(setq tern-command '("node" "C:/Users/Jason/AppData/Roaming/npm/node_modules/tern/bin/tern"))
and start typing:
It's working great, but it doesn't auto-complete symbols from different files.
This content is part of a series