Sign in to follow this  
speedo

phaser auto completion with brackets

Recommended Posts

how to use phaser auto completion in brackets
--------------------------------------------

install ternific (extension) [brackets]
after that,
go to ::
for windows::(mac and ubuntu might be quite similar)
C:\Users\username\AppData\Roaming\Brackets\extensions\user\ternific\node_modules\tern\plugin

and paste phaser.js (auto completion api)
(right click and save)
http://redchilligame.com/tutorials/vim_phaser/js/phaser.js

create .tern-project at the root dir. of your project file
and paste and save

{
"ecmaVersion": 6,
"libs": ["browser"],
"loadEagerly": [],

"plugins": {
"phaser" : {},
"doc_comment": true
}
}

enable ternific::
at right top side of file option menu, click the ternific option
file>ternific

--> now you can use phaser autocompletion with tern-documentation/tern-def

bonus:: install phaser-chain extension ( for phaser api documentation)

credits::

http://redchilligame.com/how_to_use_phaser_with_vim

 

brackets_phaser_autoc.PNG

brackets_phaser_autoc2.PNG

Edited by speedo
samples added

Share this post


Link to post
Share on other sites

Hi! I followed all the steps but I can't get to, how to create a '.tern-project '.

To be honest I don't know how to. I've searched over the internet but no one explain something like that, and there's no video or something about it.

Maybe I'm too dumb for this? I don't know, but please I only need this part to make this work. I need this auto-completion in my life so much lol.

 

Regards,

- Eng. Aguirre Albert.

Share this post


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.

Guest
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.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.