This tutorial works also for ExtJS developer, at least I tested it with ExtJS 4.x before. But actually I don't know if the required *.jsb3 file is still included their archives. May someone can confirm this?
Requirements:
- Working installation of Eclipse with Aptana Studio Plug-in (tested with Eclipse Juno Service Release 2 and Aptana Studio 3.4.0)
- Unzipped Sencha Touch 2.x.x (tested with Sencha Touch 2.2.1)
- *.jsb3 file *
* Since .jsb3 file is no more included in the Sencha Touch 2.2.1 archive (I guess they wanna sell you the Sencha Architect instead), you can download it here directly:
Download Sencha Touch .jsb3
For the case you are new to Aptana, I can suggest you to watch the following video tutorial first.
For the case you are new to Aptana, I can suggest you to watch the following video tutorial first.
In the next steps I will show you how to install and configure your Spket IDE:
- Download and copy the *.jsb3 file into the root directory of your extracted Sencha Touch archive (as a sibling of src)
- Start Eclipse.
- Goto Help > Install New Software
- Click the "add" button
- Name: Spket IDE
- Location: http://www.agpad.com/update/
- Select the Spket IDE Node and click the "Next" button (See Image1). Follow the installation steps.
- Restart Eclipse.
- In Eclipse, Windows > Preferences or just press ⌘ + ,
- Select "Spket" > "JavaScript Profile preference" page to display the installed JavaScript Profiles.
- Click the "New.." button. In the Name field, type "Sencha Touch" as the name for the new profile. Click "OK".
- Click the "Add Library" button. From the Library drop-down list, select "ExtJS". Click "OK".
- Click the "Add File" button, choose the *.jsb3 file, which you copied to the Sencha Touch root folder before (See step 1).
- Check all the available select boxes in the created profile.
- Select the Ext profile created in step 9, click the "Default" button. This makes it to the default profile for all your project.
- Click "OK" to save the preferences.
- Open your javascript file with the Spket JavaScript Editor. You can set Spket JavaScript Editor as the default editor. "Windows" > "Preferences" or just press ⌘ + ,"General" > "Editors" > "File Associations". Select the filetype "*.js". In associated editors select the Spket JavaScript Editor and press the "Default" button. See Image2.
- When you type "Ext.de" and press STRTG + SPACE your code should get completed.
- Done.
Will the specified *.jsb3 file work for Sencha Touch 2.3.0?
ReplyDeleteI am not 100% sure, but I think no...
ReplyDeleteAny plugin free for eclipse to make Sencha touch 2.3
ReplyDeleteworked great! thaanks!
ReplyDeleteThis fusion enhances productivity, Sites Proxy Torrenting streamlining the creation of feature-rich web applications by combining the power of Sencha Ext JS and the convenience of Eclipse's IDE.
ReplyDelete