This article is reproduced from http://www.ibm.com/developerworks/cn/opensource/os-eclipse-clean/But in order to adapt to their own use, or summed up a bit.A OverviewCode Cleanup: Code cleanup is a very usability tool that makes your code look more comfortable and helps others to read. Eclipse allows you to clear the
Compilation ProjectEclipse has integrated ant, so we only need to right-click on the/openfire_src/build/build.xml file, choose Run as–> Ant build to complete the compilation, after the program is successful, it will be/openfire_src/ The following directory generates two new folders: Target and work.6. Run OpenFire Project①, add the/openfire_src/src/i18n,/openfire_src/src/resources/jar,/openfire_src/build/lib/dist folders to the build path configuration Source,② Configuring Startup ParametersSel
The Eclipse code template uses code templatesEclipse provides the ability to define and use code templates to improve productivity and code predictability.We often need to write the main method in the process of developing Java programs:public static void Main (String[]args)
PMD is a source code parser. It finds common programming flaws, such as unused variables, empty catch blocks, unnecessary object creation, and so on. It supports Java, JavaScript, Salesforce.com Apex, Plsql, Apache Velocity, XML, XSL, and more.In addition, it includes CPD (copy-paste-detector, copy-paste detector). CPD in Java, C, C + +, C #, Groovy, PHP, Ruby, Fortran, JavaScript, Plsql, Apache Velocity, Scala, Objective C, Matlab, Python, Go, Duplic
When Eclipse starts, it appearsThis is your JDK environment does not match your eclipse version, if your eclipse is a 32-bit JDK will have to be 32-bit reinstallation of a histograms jdk just fine.If your JDK is unzipped, find the Javaw.exe copy path in the Bin folderCreate a shortcut for your Eclipse right-click on th
The summary is very good, and has the corresponding usage, recommend!!! From:http://www.cnblogs.com/yanyansha/archive/2011/08/30/2159265.html the Eclipse shortcut key that the code must master1. Ctrl + Left and F3This is often used by most people to see the definition of variables, methods, classesJumps to the definition code of the identifier where the cursor is
Tomcat is a familiar web server and is open-source. This article describes how to run the source code project of tomcat in eclipse. The Tomcat Source Code involved in this article takes Tomcat 6. x as an example.
1. Get tomcat source code
You can obtain the Tomcat source code
Many people do not know how to enable eclipseCodeThe auto-Prompt function of the assistant is displayed only after "." is entered by default in eclipse. In fact, you can enter any character to give a prompt.
The settings are as follows:
Open eclipse-> window-> perferences. The setting page of perferences is displayed.
Open the editor tab and find auto activation triggers for Java.
Only one "." ex
Eclipse is not automatically prompted when you write JavaScript or jquery code in the JSP in eclipse, so you need to install the plugin in Eclipse, which is named: Spket IDE, which can exist as a plugin, can also exist as a standalone IDE. It has the function of prompting JS or jquery
How eclipse is set up:Window-preferences-->java-code Style-formatterFormatting your code with code formatter after you have written it facilitates comparison and file merging when versioning conflicts. Think of the current code writing format is somewhat too personalized, if
How to quickly view the class source code in the jar package in Eclipse, eclipsejar
When we check the jar source code, we usually install a jd-gui, copy the jar, open the jar from the jd-gui, and then view the source code. This process is troublesome, of course, the quick view method described in this article does not
Reference: http://source.android.com/source/using-eclipse.html
CD/path/to/Android/root
CP development/IDE/Eclipse/. classpath.
Chmod U + W. classpath # Make the copy writable
Open eclipse and importCodeStyle File android-formatting.xml
Windows-> preferences-> JAVA> code style> formatter
Then select the android process under the development/IDE/
Shortcut Keys for eclipse and documentation and multi-line annotations
1. Multi-line comment shortcut
1. Select the area to be annotated and useCTRL + Shift + cOrCTRL +/ // Comments are added.2. Select the items you want to comment on and useShit + Ctrl +//***/Annotation is added.
3. If you click the above button again, the added comment will be removed.4. to modify the shortcut key of the command in eclispe, you only need to go to Windows> p
View the source code in Android eclipse
When developing Android, it is difficult to view the source code.ArticleLater versions (All Versions earlier than 2.0, which is different from the configuration of my latest 2.2 version). However, I still gave some inspiration. Through configuration, I can finally view the source code in
1 Build the Java Development environment, install the JDK2 download editor, from the official website download editor, Java Standard and Eclipse IDE for Java developers, download and unzip the folder to run Eclipse.exe can be
3 http:// Www.eclipse.org/babel/downloads.php Choose Chinese Simplified package download corresponding Eclipse version, select language (Simplified) package name with
After several struggles, we have successfully imported the Android settings source code into eclipse!
Before that, I hope you can do the following, otherwise reading down is just a waste of time.
If you do the above work well, the following is a pile of dishes.
1. Create an android Project
Copy the source code/packages/apps/settings to your other direct
This blog post is primarily about installing Eclipse for C + +. It also makes me feel the power of eclipse tools, altogether also support C + +, although in Linux programming only play the role of coding but not to be underestimated.The following is the installation of Eclipse for C + +:You must install one of the following two plugins before installing it:Jdk-8u
Eclipse Edit Code, the progress bar appears "Remote System Explorer operation", causing Eclipse to lag.Workaround :Startup and Shutdown, Preferences, Eclipse, and so on.-Uncheck RSE UI.Remote Systems, Preferences, Eclipse.-Uncheck Re-open Remote Systems view to previous sta
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.