Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration about .tern-project #15

Open
lookforit opened this issue Nov 28, 2015 · 1 comment
Open

Configuration about .tern-project #15

lookforit opened this issue Nov 28, 2015 · 1 comment

Comments

@lookforit
Copy link

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.

  1. 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?

  2. 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:

 var execSync = require( 'child_process' ).execSync;

So pls let me know the way to configure .tern-project for these two scenarios.

Many thanks in advance.

@angelozerr
Copy link
Owner

Please post your question to tern or tern for vim. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants