speedo Posted February 4, 2018 Share Posted February 4, 2018 (edited) 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 Edited February 5, 2018 by speedo samples added casey 1 Link to comment Share on other sites More sharing options...
Wunderforce Posted February 5, 2018 Share Posted February 5, 2018 Took me over a day before I realized that you can't get phaser autocomplete to work with Bracket's native tern This does seem to remove some of the native java script autocomplete however. Any tips on getting that back? Link to comment Share on other sites More sharing options...
AvenBeater Posted June 6, 2018 Share Posted June 6, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts