让你的MyEclipse自动提示jquery和extjs等
2012-09-17 20:49
309 查看
一、安装Spket
第一种方法:网上更新方式
1.插件首页:http://www.spket.com
2.插件名称:Spket IDE
3.更新连接(Update Site):http://www.spket.com/update/
更新安装方法:
1.[Help]-[Software Updates]-[Find and Install...]
2.[Search for new features to install] -> [Next]
3.[New Remote Site...] Name: "什么都行,spketjs" URL: http://www.spket.com/update/--> [Finish]
第二种方法:网上下载spket-1.6.16.jar破解版(目前最新版本)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/1.jpg)
1.如果你的JDK在1.6以上,可以直接双击spket-1.6.16.jar运行安装。
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/2.jpg)
其它,使用命令行方式。(注意:自己切换命令行到spket-1.6.16.jar所在目录)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/3.jpg)
2.
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/4.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/5.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/6.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/7.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/11.jpg)
至此,安装完成。
二、配置Spket
注意:如果在安装spket过程中,你的eclipse或者Myeclipse是打开的,请重启eclipse或者Myeclipse。以便初始化插件,下面才会在Preferences中看到 Spket选项。
基本步骤如下:
1)Window → Preferences → Spket ;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/12.jpg)
2)Spket → JavaScript Profiles → New, 输入“ExtJS”点击OK;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/13.jpg)
3)选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/14.jpg)
4)选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/15.jpg)
5)设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/17.jpg)
下面这个操作,根据自己需要设置(可以全选)。
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/16.jpg)
6)重启eclipse或者Myeclipse;
7)创建新的JS文件并输入: Ext这样就可设置Ext Code代码自动完成的功能。
效果如下:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/18.jpg)
![](http://www.blogjava.net/images/blogjava_net/redhatlinux/spket.gif)
(经测试第一种一直没成功,第二种方法是不错的,成功了!)
第一种方法:网上更新方式
1.插件首页:http://www.spket.com
2.插件名称:Spket IDE
3.更新连接(Update Site):http://www.spket.com/update/
更新安装方法:
1.[Help]-[Software Updates]-[Find and Install...]
2.[Search for new features to install] -> [Next]
3.[New Remote Site...] Name: "什么都行,spketjs" URL: http://www.spket.com/update/--> [Finish]
第二种方法:网上下载spket-1.6.16.jar破解版(目前最新版本)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/1.jpg)
1.如果你的JDK在1.6以上,可以直接双击spket-1.6.16.jar运行安装。
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/2.jpg)
其它,使用命令行方式。(注意:自己切换命令行到spket-1.6.16.jar所在目录)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/3.jpg)
2.
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/4.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/5.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/6.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/7.jpg)
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/11.jpg)
至此,安装完成。
二、配置Spket
注意:如果在安装spket过程中,你的eclipse或者Myeclipse是打开的,请重启eclipse或者Myeclipse。以便初始化插件,下面才会在Preferences中看到 Spket选项。
基本步骤如下:
1)Window → Preferences → Spket ;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/12.jpg)
2)Spket → JavaScript Profiles → New, 输入“ExtJS”点击OK;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/13.jpg)
3)选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/14.jpg)
4)选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/15.jpg)
5)设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/17.jpg)
下面这个操作,根据自己需要设置(可以全选)。
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/16.jpg)
6)重启eclipse或者Myeclipse;
7)创建新的JS文件并输入: Ext这样就可设置Ext Code代码自动完成的功能。
效果如下:
![](http://p.blog.csdn.net/images/p_blog_csdn_net/elifefly/EntryImages/20090110/18.jpg)
![](http://www.blogjava.net/images/blogjava_net/redhatlinux/spket.gif)
(经测试第一种一直没成功,第二种方法是不错的,成功了!)
相关文章推荐
- 让你的MyEclipse自动提示jquery和extjs等
- MyEclipse自动提示Extjs和Jquery
- 让你的MyEclipse自动提示jquery和extjs等
- MyEclipse自动提示Extjs和Jquery
- 让你的MyEclipse自动提示jquery和extjs等
- MyEclipse 10.5与ExtJS 4.1.1自动代码提示
- 在MyEclipse8.6中设置jQuery自动提示
- MyEclipse 10.5与ExtJS 4.1.1自动代码提示
- MyEclipse安装Ext JS和jQuery自动提示功能
- Myeclipse JQuery自动提示
- Eclipse、Aptana、MyEclipse的Extjs 自动提示,通过spket
- MyEclipse8.6 web中jsp页面出现jquery,dojo等代码自动提示
- eclipse中显示jquery或extjs自动提示
- MyEclipse 10.5与ExtJS 4.1.1自动代码提示
- 让你的MyEclipse具有jquery自动提示
- MyEclipse支持Jquery的自动提示
- MyEclipse下的jQuery自动提示插件配置
- 在MyEclipse8.6中设置jQuery自动提示
- myeclipse中支持jquery、ext、YUI、mooto等主流框架的自动完成、提示、...
- Ecplise下设置jQuery和ExtJs自动提示