atom-ternjs icon indicating copy to clipboard operation
atom-ternjs copied to clipboard

Why ternjs always needed to Configure Project manually?

Open youyinnn opened this issue 8 years ago • 1 comments

as the title say

everytime i open atom , i have to do this first :

Configure your project Open any JavaScript file from within your project Navigate to Packages -> Atom Ternjs -> Configure project The config view appears. Hit "Save & Restart Server" to create/update the .tern-project file

i always do this , but i'm tired of doing this again and again

is there any setting that can let it auto-run?

so that i can working right after i open atom and code my js file immediately !

youyinnn avatar Jul 24 '17 07:07 youyinnn

You can always create a default .tern-config config in your home directory. This config is being used as a default if it exists. If not the default config: https://github.com/tststs/atom-ternjs/blob/master/config/tern-config.js is used.

This works fine on my computer. You may try the first approach. If this is not working please provide information about where you open files, operating system and what the actual issue is.

Greetings

tststs avatar Mar 03 '19 17:03 tststs