You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am a huge fan of tern,and use tern-for-vim for nodejs code writing .
I am sorry this question may not relate directly to tern-node-express plugin,but I need your help to instruct me how to configure .tern-project file.
If I installed new packages via npm(global or local in project),how can I tell tern_for_vim to auto complete items in that package?
If I switched to a newer version of node, how to make tern_for_vim to auto complete the item that does not exist in the older version of node,but is included in the newer version?
For example, I have installed 2 version of node:
0.10.xx
4.4.2
In 0.10.xx,the execSync is unavailable,but it should appear in the 4.x version when I pressed dot after require statement:
varexecSync=require('child_process').execSync;
So pls let me know the way to configure .tern-project for these two scenarios.
Many thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi,
I am a huge fan of tern,and use
tern-for-vim
for nodejs code writing .I am sorry this question may not relate directly to
tern-node-express
plugin,but I need your help to instruct me how to configure.tern-project
file.If I installed new packages via
npm
(global or local in project),how can I tell tern_for_vim to auto complete items in that package?If I switched to a newer version of node, how to make
tern_for_vim
to auto complete the item that does not exist in the older version of node,but is included in the newer version?For example, I have installed 2 version of node:
In
0.10.xx
,theexecSync
is unavailable,but it should appear in the4.x
version when I presseddot
afterrequire
statement:So pls let me know the way to configure
.tern-project
for these two scenarios.Many thanks in advance.
The text was updated successfully, but these errors were encountered: