zoukankan      html  css  js  c++  java
  • skpet support extjs develop

    Create JavaScript profile for Ext 4.x

    1. Download Ext 4.x, unzip it, do not delete the src folder..
    2. Select the menu item Window > Preferences... to open the workbench preferences.
    3. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
    4. Click the New.. button. In the Name field, type Ext 4 as the name for the new profile. Then click OK.
    5. Click the Add Library button. From the Library drop-down list, select ExtJS. Then click OK.
    6. Click the Add File button, choose sdk.jsb3 which can be found in build folder.
    7. Select the Ext profile created in step 4, click the Default button make it the default profile for all project. The default profile can also be configured per project by using Configure Project Specific Settings... link.
    8. If everything done correctly, your profile should looks like this.
    9. Click on OK to save the preferences.
    10. Open javascript file with Spket JavaScript Editor. If you not sure which editor you used, take a look at this screen shot. click Ctrl+Space or Alt+/, the code assist window will looks like this if there is no code.

    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, type Ext as the name for the new profile. Then click OK.
    4. Click the Add Library button. From the Library drop-down list, select ExtJS. Then click OK.
    5. Click the Add File button, choose ext.jsb which can be found in Ext source folder
    6. Select the Ext profile created in step 3, click the Default button make it the default profile for all project. The default profile can also be configured per project by using Configure Project Specific Settings... link.
    7. Click on OK to save the preferences.

    Features

    Code assist for Ext JS

    Code assist The code assist for Ext JS is very accurate and thorough, and it supports Ext JS 1.x - Ext JS 2.x, the code assist list all the properties/methods with full documentation.

    Code assist for Config Options

    config option The code assist will list all the config options and where it was defined.

    Open declaration

    config option Select Ext function, use the Ctrl+Click combination or F3, you can jump to the Ext source code, help you to learn how Ext works.

    Code assist for custom class

    custom class The code assist works well for custom class, including config option and properties/methods.

    custom class


    I have uploaded a quick update for Ext 4 support, please download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar

    http://www.agpad.com/downloads/ext.jsb2 for Ext JS 4 Developer Preview 5

    reference

    http://forums.spket.com/viewtopic.php?t=1866&f=6

  • 相关阅读:
    Docker版安装部署 Nexus 及阿里云仓库与本地仓库配置
    Golang开发中如何解决共享变量问题
    什么是dubbo?
    dubbo配置
    redis击穿,穿透,雪崩
    C#根据wsdl文件生成客户端调用代码
    查询哪个程序在使用某个端口
    Java面试题(十六):双亲委派模型
    Java面试题(十五):Java类加载器
    Java面试题(十四):什么是字节码?采用字节码的好处是什么?
  • 原文地址:https://www.cnblogs.com/lexus/p/2328829.html
Copyright © 2011-2022 走看看