Sencha Touch IDE or Editor

Arindam Mukherjee picture Arindam Mukherjee · May 29, 2012 · Viewed 14.7k times · Source

Is there any Sencha Touch 2 IDE or Editor? I know about Sencha Architect 2. But it is too costly. If anyone using Sencha Touch IDE, so we can give only CTRL+SPACE, and it will give me the all methods?

Answer

Alex Pereira picture Alex Pereira · May 30, 2012

You can use Aptana (free) adding a custom autocompletion library for Ext.js / Sencha. Works quite well with Sencha Touch 1 (I didn't find it yet for ST2).

  1. Into Aptana Studio go to Help -> Install New Software
  2. Click "Add" to add a repository
  3. In "Work with:" list select the item u just added A list will appear wit 3 repositoryes for Spket IDE. (Spket IDE, Spket Text Editor and Xerces for Spket IDE) Install all of them

  4. Download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar

  5. Replace the existing file located in "C:\Program Files\Appcelerator\Aptana Studio 3\plugins" or where did you installed Aptana (in "plugins" folder) You must install this because Spket only supports format "jsb1" and "jsb2". With this fix it will support "jsb3" (wich Sencha Touch use it).
  6. In Aptana Studio go to Windows -> Preferences -> Spket -> Javascript Profiles
    • Click "New" and write "SenchaTouch"
    • Select "SenchaTouch" and click "Add Library" and select "ExtJs" from the list displayed
    • Select "ExtJs" and click "Add File" Locate youre "sencha-touch.jsb3" wich is containted in the zip file downloaded from sencha.com. (make sure all the files from that archive are located in the same folder) ....and click "Open"
    • Select "SenchaTouch" again and click "Default" button
    • Click "OK"

Now open a ".js" script of a sencha touch project and check it out.

Hope it will help