ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

Definition about ES6 .tern-project file #161

Closed easyfrog closed 7 years ago

easyfrog commented 7 years ago

If I use 'es_modules: {}inpluginsto handle es6'simportandexport. and theloadEagerly` is necessary?

qq20170219-093345 2x
marijnh commented 7 years ago

If you load files through a module system, you don't have to tell Tern about them with loadEagerly.

easyfrog commented 7 years ago

But if I don't write loadEagerly in .tern-project, tern wile not analyse any module at all.

look this:

  1. write loadEagerly: with1 and give me correctly result: withloadeagerly

  2. without loadEagerly: without1 and without any tips. without2