ragnarok Posted December 25, 2013 Share Posted December 25, 2013 Hello everyone,does anybody know a Javascript-Editor which understands code-completion from other files? For example I wanted to include phaser.js and begin the writing of my game in the next script-tag:<!DOCTYPE html><html> <head> </head> <body> <script src="js/phaser.js"></script> <script> var myGame = new Phaser. </script> </body></html>I somehow expected the editor (Brackets in that case) to hint me the methods and attributes of Phaser, but nothing of this happens. Is my Editor-Setup wrong and can this somehow be enabled? Do you maybe know another Editor able to give me the right hints? I'm currently working directly at the end of the phaser.js file, where it works quite well, but I'm not exactly comfortable with this solution. (Sorry for my english, I'm not a native speaker). Quote Link to comment Share on other sites More sharing options...
ragnarok Posted December 27, 2013 Author Share Posted December 27, 2013 Just working in a diffrent JS-file (still using Brackets) gives me the autocompletion, so here I go...<!DOCTYPE html><html> <head> <script src="js/phaser.js"></script> </head> <body> <script src="js/game.js"></script> </body></html> Quote Link to comment Share on other sites More sharing options...
onedayitwillmake Posted January 1, 2014 Share Posted January 1, 2014 Get Webstorm from intellij, it's autocomplete is aware of your js objects - across the whole project drmop 1 Quote Link to comment Share on other sites More sharing options...
PhaserEditor2D Posted January 30, 2015 Share Posted January 30, 2015 You can take a look to this thread, it is about to browse the Phaser API in brackets. http://www.html5gamedevs.com/topic/12051-phaser-chains-a-different-way-to-explore-phaser-docs/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.