Customizing the Eclipse IDE Plug-in chapter (i)

Source: Internet
Author: User
Tags svn

Previous review: Customizing the Eclipse IDE's features (ii)

In this article, I'll list the other plugins I've used to customize Eclipse.

first, the Chinese-typed plug-inEclipse itself is displayed in English, and we are able to use the plugin to Chinese. 1. Select the corresponding eclipse version. : Http://www.eclipse.org/babel/downloads.php2. Select the language you want to download 3. Unzip and copy directly to Eclipse's Dropins directory. Second, open folder location plug-inWhen you click a project or project file, you can open the directory location directly. : Https://github.com/samsonw/OpenExplorer/downloadsPS: I changed the icon of the toolbar. Third, SVN pluginIn the Eclipse of window I built the SVN plugin (Mac does not need), this plugin is very useful. 1. Download the plugin package: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA2. After decompression, copy the features and plugins directly to the Eclipse directory. Iv. jscompress plug-inThis plugin is used to compress JavaScript and CSS files, and the right-click menu can be compressed. 1. I export the plugin directly under the source code, and that source code path I can not find, so I put the download I put up. : Http://files.cnblogs.com/files/lovesong/me.oncereply.jscompressor.zip v. Tomcat pluginBecause of the functional requirements, the need for engineering can be placed in the server running up, I chose a tomcat. Because I am not using the Eclipse Java EE Edition, there is no built-in sever. I found a simple Tomcat plugin source code on GitHub to meet my needs. 1. Download the source code: HTTPS://GITHUB.COM/UTLUIZ/COM.SYSDEO.ECLIPSE.TOMCAT2. Import the project into Eclipse and run the Eclipse program directly. You will find that there are three icons on the toolbar, these three icons are not the same, I changed. 3. Built-in a TOMCAT7 (do not set the user himself, because you do once, all users do not have to do) in the Org.eclipse.ui.startup extension execution (only once):
Preferences TPF = tomcatlauncherplugin.getdefault (). Getpluginpreferences (); Tpf.setvalue ("Tomcatdir", Tomcatdir); Tpf.setvalue ("Computesourcepath", Computesourcepath); Tpf.setvalue ("Tomcatconfigfile" , Tomcatconfigfile); Tpf.setvalue ("Contextsdir", Contextsdir); Tpf.setvalue ("Tomcatversion", tomcatversion);   
Here's a trick, if you don't know how to set some plug-in properties in the first place (not just for this tomcat plugin), you can set it up manually and then see what configuration files are generated in workspace, typically prefs files. Com.sysdeo.eclipse.tomcat.prefs's content is:
Computesourcepath=Truecontextsdir=f\:\\software\\bingotouchide\\tools\\tomcat\\conf\\catalina\\ Localhosteclipse.preferences.version=1tomcatconfigfile=f\:\\software\\bingotouchide\\tools\\ Tomcat\\conf\\server.xmltomcatdir=f\:\\software\\bingotouchide\\tools\\tomcattomcatversion= TomcatV7
In fact, is to help with the following things, notice the interface has been modified by me, and the original plugin is not the same. Six, Emmet plug-inFormerly known as Zen coding, using the syntax of the imitation CSS selector to generate code, greatly improved the speed of HTML/CSS code writing, very cool plug-ins. For example, in HTML input:
Div#page>div.logo+ul#navigation>li*5>a
Then press TAB to generate:
<DivID= "page">        <Divclass= "logo"></Div>        <ulID= "Navigation">                <Li><ahref=""></a></Li>                <Li><ahref=""></a></Li>                <Li><ahref=""></a></Li>                <Li><ahref=""></a></Li>                <Li><ahref=""></a></Li>        </ul></Div>
Of course there are more ways to use it, and it's not swim here. Download the source code and export the plugin yourself. : Https://github.com/emmetio/emmet-eclipse due to the length of the plug-in has not been continued.
This article for the original article, reproduced please retain the original source, convenient traceability, if there is the wrong place, thank you correct.
This address: http://www.cnblogs.com/lovesong/p/4694688.html

Customizing the Eclipse IDE Plug-in chapter (i)

Related Article

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.