Jump to content

Auto completion for Phaser


bapho
 Share

Recommended Posts

Hi,

 

I'm pretty new to Phaser, and I'm trying to set up one of my installed code editor to work with a code completion solution available. I'm trying to get them to work with Sublime Text 2. I'm on Win7 btw.

 

Right now I'm trying to get tern-for-sublime + Tern-phaser to run. I seem to have installed them without a hitch (had to manually do npm install). However I don't see them working in action. Am I supposed to see some special popup while I've a JS file open? And should I see Phaser related stuff already?

 

Newb questions :). I haven't really played around with Sublime Text 2 before, so this is confusing me a bit.

Link to comment
Share on other sites

Hi bapho,

 

If you want Phaser code completion you can try Phaser Editor :) , it is a new editor made just for Phaser, as the name says.

 

Actually, I consider it is very helpful for newbies because it bundles features like project templates (based on Phaser examples and others), code completion, assets manager, a documentation tool called Chains, etc...

 

Just take a look, it is a commercial product but the evaluation version is full featured and do not have expiration date (like in sublime text).

 

If you like to keep coding in Sublime, yet you can use Phaser Editor as an asset manager for your game. I wrote an article about it.

 

If you have any question feel free to ask me.

Link to comment
Share on other sites

Not Sublime but, Visual Studio 2015 (there's a very decent free community Edition) is getting pretty good at autocompletion.  You just need the unminified phaser.js in your project.  Worth a try, especially if you've been disappointed with previous versions of VS.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...