EXT 2.0 APIs contain many methods (functions), attributes, and configuration items. They cover a large area and are almost impossible to list them all. Although the API documentation is well-developed, in actual development, if Javascript is supported like Java and C # in other languages Code Tip, that's better. Fortunately, there are several development environments (IDE) and plug-ins that support-and directly support ext 2.0.
Aptana Studio When talking about Javascript development tools, you have to mention Aptana. In my actual work, I use it every day to complete the work of Adobe AIR. However, the current ext version bound to Aptana is somewhat old (Version 1.1). The following describes how to install a plug-in to support Aptana to version 2.0 (provided by Markus schmidleitner and used well ):
1. Download and install Aptana Studio; 2. Open your AptanaProgramDirectory (here I am c: \ Aptana), copy the files in jar format to the Plugins directory; 3. restart Aptana; 4. choose WINDOW> preferences> Aptana> editors> JavaScript> code assist and select ext 2.0 (or select ext.1.1 ).
Aptana Studio with ext 2.0 code assist
Spket Eclipse plug-in and IDESpket IDE is currently the best ide that supports ext 2.0. It uses the. JSB project file and embeds the content inherited from the base class and all documents into the script Doc that generates code prompts. Since spket is just a simple editor and does not support other formats (such as CSS), my approach is to install it in the form of its Eclipse plug-in to Aptana. The installation method is as follows:
1. Download and install Aptana Studio (including eclipse); 2. Start Aptana and open the program menu to: Help → software updates → find and install... → Search for new features to install → new remote site... 3. name: "spket", Address URL is http://www.spket.com/update/ 4. restart Aptana; 5. take a look at this sketide tutorial to see how easy the ext code prompts are (you can modify/src/Ext. the basic steps are as follows:
- Window → preferences → spket → JavaScript profiles → new;
- Enter "extjs" and click OK;
- Select "extjs" and click "add library", and then select "extjs" in the pull down bar ";
- Select "extjs" and click "add file", and then select the "Ext. JSB" file in your./ext-2.x/source directory;
- Set the new extjs profile, select and click "defalut" on the right hand side of the "javascript profiles" dialog box;
- Restart Aptana;
- Create a new JS file and enter ext to set the function of automatically completing the ext code.
Since you installed the plug-in Aptana, Aptana is still your default JS editor, so to try spket, You need to select "open with"-> spket JavaScript editor on that file.
Spket in Aptana with full documentation and code assist
Komodo EditKomodo edit provides support for many format files, including Perl, PHP, Python, Ruby, and TCL. It also supports browser code including JavaScript, CSS, HTML, and XML. Windows, Mac OS, and Linux platforms are available. Install Komodo supported by Ext:
1. download and install Komodo edit; 2. download API Catalog; 3. go to edit-> preferences-> code intelligence and select the button "add an API catalog" under "API catalog"; 4. select the downloaded extjs API catkomodo editalog CIX.
Komodo with ext JS Code intelligence
DreamweaverFor Dreamweaver users, there are two available plug-ins: spketdw (Dreamweaver 2004 or the new version) and spketdwcs (Dreamweaver CS3 ). Both are developed by the spket Team (mentioned earlier), so they are equally accurate and outstanding. In addition, a major feature of the Dreamweaver plug-in is that it supports code prompts for configuration items.
Members code assist
Config Option Code assist
To download and install them, visit their website.Other idesThere are other ides, suchCommunityStart intellij and Visual Studio 2008 that are working.SummaryWhen ext 2.0 is needed at work, some tools can help you improve your work.