Configuration de l’auto complétion pour Phaser.io sous Atom.
1/ Installer Atomj-terns :
https://atom.io/packages/atom-ternjs
2/ Sauvegarder la configuration de Ternjs :
– [Packages][Atom Ternjs][Configure Project]
Onglet [atom-ternjs project config] :
– [Save & Restart Server]
3/ Initialiser le plugin ‘phaser‘ :
Ouvrir :
.tern-project
Chercher :
"doc_comment": true
Remplacer par :
"doc_comment": true, "phaser": {}
4/ Ajouter le plugin ‘phaser’ :
~/.atom/packages/atom-ternjs/node_modules/tern/plugin/ ➜ plugin wget https://github.com/angelozerr/tern-phaser/blob/master/phaser.js
5/ Recharger le server :
– [Packages][Atom Ternjs][Restart server]
6/ Liens :
https://atom.io/packages/atom-ternjs
https://github.com/angelozerr/tern-phaser/wiki/UseTernPhaserWithAtom
http://www.html5gamedevs.com/topic/17610-guide-phaser-auto-completion-in-atom-with-tern-phaser/
Comments are closed, but trackbacks and pingbacks are open.