日期:2014-05-16  浏览次数:20406 次

很好的javascript编辑工具 spket
一直在找支持Ext库的eclipse javascript插件。
用过一段时间aptana,不是很稳定,觉得不爽。
后来在Jack Slocum的blog中发现了spket,才发现这就是我要的。
支持Ext的code complete并附带code api comments。

spket官方网站在www.spket.com,目前最新版本是1.6.11
下了个压缩包,很庆幸的发现居然没做混淆,呵呵,那就不客气的拿来用了。
附件中是破解版。解压到eclipse目录中即可

在spket中添加Ext库支持的步骤如下:
Watch this Spket IDE Tutorial to see how to easily add Ext code assist (you can point it at the latest /src/ext.jsb to keep code assist up to date with the latest Ext version). The steps are basically:
Window → Preferences → Spket → JavaScript Profiles → New
Enter “ExtJS” and click OK
Select “ExtJS” and click “Add Library”, then choose “ExtJS” from the dropdown
Select “ExtJS” and click “Add File”, then choose the “ext.jsb” file in your “./ext-2.x/source” directory
Set the new ExtJS profile as the default by selecting it an clicking the “Default” button on the right-hand side of the “JavaScript Profiles” dialog.
Restart Aptana
Create a new JS file and type: Ext. and you should get the Ext Code completion options.