[EXTJS5 Study notes] section 26th, using Sencha ExtJS plug-ins in Eclipse/myeclipse

Source: Internet
Author: User

This address: http://blog.csdn.net/sushengmiyan/article/details/40507383

Plugin Download: http://download.csdn.net/detail/sushengmiyan/8085851

This article Sushengmiyan

--------------------------------------------------------------------------------------------------------------- ---------------------

Introduced

The Sencha Eclipse Plugin provides an integrated development environment. Easy JavaScript writing. More convenient for Ext JS and Sencha touch to write efficient, accurate code. This plugin is in the Vget project (the Eclipse plugin for Java script). It replaces standard text editing and simple JavaScript writing with features such as the IDE's development environment. For example, the following are more convenient:

1. Code completion, code templates, high-speed and accurate writing JavaScript code wizard.

2. The ability to find JavaScript types and inheritance relationships. Wait a minute

3. Similar Java syntax Check to help find errors.

Perform test and commissioning of 4.javascript.

The plugin also provides some other Java IDE-like functionality. such as highlighting, syntax highlighting, and so on.


For ExtJS and Sencha touch. The plug-in provides performance such as the following:

1. Code Helper

Ext's global variables, package paths, properties, methods, etc.

Methods for specifying types

All descriptive narrative information of a type is displayed

2. Support such as the following:

Jsduck type of document generator, like @ parameter {string/date[]} My number of references

Factory method judgment: such as Ext.create

Object Iteration Helper, like ext.application{}

Anonymous functions, like Ext.each

Single case, e.g. Ext.date

Using Xtype to configure options

Add configurations such as FullName Xtype and alias to the Ext.create function

Same good support for Ext.define.

Known legality checks

A warning is prompted when a reference to a method is lowered

Error when an incorrect configuration is passed in

Sencha Eclipse plugin to work with Jsduck

The path to Jsduck on GitHub is: Https://github.com/senchalabs/jsduck is able to use this project to produce EXTJS documents.


Here are some of the supported types of annotations

@return @private @property @protected @type @cfg @param

According to the name should know the detailed meaning. Just a little more elaboration


The following emphasis on the installation of this plug-in to install the use of this plugin, you need to do three steps: 1. Install Eclipse 3.7 or 4.0, 4.1 version number (Indigo/juno) Note that the Aptana test has not been used 2. Install Vjet and Sencha Eclipse plug-in 3. Import ExtJS and Sencha Touch class libraries
Install Eclipse and install it yourself.
Installing the Vjet and ExtJS pluginsSuppose you have this plugin with the previous version number installed. Please uninstall it first. 1. Unzip the downloaded plug-in package2. In Eclipse/myeclipse, select Help/install new software (in myeclipse2014. Select Install from site)after the pop-up selection box, select the plugin package that you just unzipped, note that this is the 30-day trial version number OH.

3. Select the Vjet and ExtJS plugins together. Installation.
Importing a ExtJS class libraryNote Select the appropriate JSTL package. such as Extjstl-4.0.7-gpl.zipin Eclipse/myeclipse, select File Import. Go to the Import Wizard. Select General-existing Projects->nexterrors can be ignored during the process.



after this is complete, you will need to select new Vgetproject when creating new project, and then include the code in the workspace. OK, you can do it here. I feel very laborious!

Plugin: http://download.csdn.net/detail/sushengmiyan/8085851

[EXTJS5 Study notes] section 26th, using Sencha ExtJS plug-ins in Eclipse/myeclipse

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.