tern icon indicating copy to clipboard operation
tern copied to clipboard

Directions on how to start it the first time

Open base698 opened this issue 9 years ago • 3 comments

I see no directions how to run it in the readme. I have the emacs plug in and cloned the server. Did npm install, node lib/tern.js which exits with status code 0. How do I run it?

base698 avatar Jan 26 '16 19:01 base698

The emacs plugin will run a server automatically. Did you enable it? To start a server manually, you want bin/tern.

marijnh avatar Jan 26 '16 19:01 marijnh

How do you run it automatically? I see tern-use-server in helm and a few other tern commands which all error. Position outside of file when tern-server is set and a connection refused when it's not connected.

How do I make it aware of my js files? I see mention of .tern-project via google file but no mention on how to configure it or a default version.

Just found this: http://ternjs.net/doc/manual.html#configuration

base698 avatar Jan 26 '16 21:01 base698

Yes, that's how you configure Tern. Does that mean your issue is resolved? If not, show a project and a config file, and describe what is going wrong.

marijnh avatar Feb 05 '16 12:02 marijnh