1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site... Name: "Spket", Url: "http://www.agpad.com/update"下载完毕重启 Eclipse 2、Window -> Preferences -> Spket -> JavaScript Profiles -> New ; 输入“ExtJS”点击OK; 选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”; 选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件; 3、设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮; 4、JS打开方式为 Window -> Preferences ->General-> Editors-> File Associations设置js默认打开文件的方式为spket