Jump to content

Need Help Configuring VIM TernJS Autocompletion!

Recommended Posts

Can somebody who is already using the TernJS plugin for vim help me configure the .tern-project file for a phaser project. I have generatated the files using yeoman phaser-official generator so my folder structure looks like this:

src/                                                                                 | assets/                                                                            | bower_components/                                                                  | | phaser-official/                                                                 | css/                                                                               | js/                                                                                | | boot.js                                                                          | | game.js                                                                          | | main.js                                                                          | | main.js.bkup                                                                     | | menu.js                                                                          | | preloader.js                                                                         | index.html  

Do I have to use RequireJS to configure Tern? If yes, is there any generator that does it automaticaly? I've never used RequireJS before so I don't know how to set my project up with it.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...