As the saying goes, to do a good job, you must first sharpen it. I am afraid anyone who lacks good tools and wants to make good use of ext's large class library is very difficult to do. This article will introduce several intelligent prompt tools for Ext. BTW, today is very uncomfortable. Aptana does not know why it cannot be started. This article is available after the reinstallation is boring...
The first method is supported by Aptana.
1. Download aptanahttp: // www.aptana.org/studio/download
Aptana can be run independently or used as an Eclipse plug-in.
2. Download Aptana ext plug-in, plug-in from ext official forum http://www.extjs.com/forum/showthread.php? 89w.-3.x.x-aptana-plugin & Highlight = Aptana
To download the file from other websites, you can directly download the attachment to this article (corresponding to ext3.2.0)
3. Put the jar directly to the Plugins directory under the Aptana directory,
4. Restart Aptana and go to window> preferences to set the preferences,
In this way, you can use ext smart prompts,
Method 2 Aptana/eclipse works with spket plug-in
1. Download Aptana or eclipse. I will not talk about it here.
2. Set the spket download path,
3. Download and install spket (Note: You must restart Aptana to see the spket update link)
Next, click "Next", accept Liscence, and wait for installation. Click "OK". Restart Aptana after installation.
4. Choose WINDOW> preferences to set the preferences,
5. Do not forget to select spket to open the file,
In this way, the ext plug-in of spket is installed, and the result is displayed.
Method 3: Komodo Text Editor
1. Download Komodo official address: http://www.activestate.com/komodo/
2. Add ext support. Komodo comes with many JS class libraries. All you need to do is move the ext CIS file to your personal Komodo configuration path. The specific operations are as follows: Go to edit-> preferences
And then set:
You must carefully navigate to the CIX file corresponding to ext and click Open
3. Now, let's take a look at the Komodo effect:
Method 4: jseclipse plug-in
Http://www.extjs.com/forum/showthread.php? 6112-for-jseclipse-plugin-ext-of-the-code-completion-library & Highlight = Aptana
I have never used it. I will not talk about it here.
Comparison of the three methods:
The first method prompts are incomplete. You cannot click ext to connect to the onready function, but you can use it when editing HTML files.
In the second method, the spket prompt is comprehensive, which not only displays comments, but also supports the configuration item prompt in ext,
But spket cannot prompt when editing Js in HTML.
The third method supports prompts in HTML and JS files, but it is not as comprehensive as spket prompts.
Some Supplements to Aptana, spket, And Komodo:
1. Aptana is a powerful ide that focuses on front-end development. It comes with Jetty (Web Container) that can achieve what you see is what you get, and can be used with firebug to debug Js.
2. Like Aptana, spket has two forms: IDE and plug-in. But spket ide does not have any functions. It is generally used as a plug-in.
3. komodo edit is a cross-platform editor that supports multiple dynamic programming languages. It provides multiple functions to improve code compilation efficiency and reduce the chance of errors, such as tmeplate and snippets, it also has many built-in commands to reduce unnecessary time overhead. For example, we can create a new command to enable it to call a browser to open and send a request to Google to search the selected content, you can place this command on the toolbar and set an icon for it. You can simply double-click it if you want to use it later.