让Aptana支持JavaScript的代码提示

阅读更多
先下载Aptana Studio 3安装包,它是基于Eclipse的Web Application IDE;
然后下载Sencha-touch-2.1.0-gpl.zip,并解压(Sencha Touch是一款基于HTML5的Mobile App框架)。
最后再Aptana中安装插件:
1. Into Aptana Studio go to Help -> Install New Software
2. Click "Add" to add a repository
Name: Spket IDE
Location:http://www.agpad.com/update/ 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
3. Download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar
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).

4. 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-all-debug.js" 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"

参考文章:http://stackoverflow.com/questions/10800044/sencha-touch-ide-or-editor/10814066#10814066

你可能感兴趣的:(aptana,javascript,ide)