MyEclipse安装Spket插件包

来源:互联网 发布:磁阻尼器淘宝 编辑:程序博客网 时间:2024/05/10 10:06

安装插件

首先在网上找到spket的插件包,下载后解压可以看到有这样2个文件夹。分别是features、plugins,然后找到

eclipse、MyEclipse的安装目录(C:/Program Files/MyEclipse),在这个文件夹中找到eclipse或是myeclipse文件夹,

将features、plugins直接放入文件夹中即可。提示否覆盖选择是;

 

Create JavaScript profile

  1. Select the menu item Window > Preferences... to open the workbench preferences.
  2. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
  3. Click the New.. button. In the Name field, typeExtAIR as the name for the new profile. Then clickOK.
  4. Click the Add Library button. From the Library drop-down list, selectAIR. Then clickOK.
  5. Select profile ExtAIR then click the Add Library button. From theLibrary drop-down list, selectExtJS. Then clickOK.
  6. Click the Add File button, choose ext.jsb which can be found inExt source folder
  7. Select the ExtAIR profile created in step 3, click theDefault button make it the default profile for all project. The default profile can also be configured per project by usingConfigure Project Specific Settings... link.
  8. Click on OK to save the preferences.

profile

Start coding

  1. From the menu bar, select File > New > File
  2. In the File name field, type test.js as the name for the new file. Then clickFinish.

code completion


原创粉丝点击