First of all, many people say, do not look at the JDK source code is not called to learn java. Obviously that's for sure. To make an analogy: the real chef needs to go down from the selection of ingredients, processing, to the final cooking, plate forming, and even to the end of the process to introduce the user to the edible method. In fact, many cooks just do a small part of it, so at most can only be cal
." watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2f5y2fpcwk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">1 , Click on the button below," Change attached Source ... ". This is jumping out of a popup box; 2, because you need to import the entire" Sources "folder under the root folder of the Android SDK, you need to Click on the pop-up box" external Folder ". Then select the "source" folder under the Android SDK installation folder. Finally click "OK". Suppose
set of style definitions better than indent: ANSI Java Linux... you don't have to remember the complex indentation specific options.
Download the source code, decompress the package, make, and generate the astyle executable file.Astyle [Options] Astyle [Options] Foo. cpp bar. cpp [...]Astyle -- style = ANSI *. cppI tried to format PHP with it.ProgramIt is also very effective (of course, it is not a pur
Below is a list of some tools that can help you examine your Java source code for potential problems:
1. pMD from http://pmd.sourceforge.net/
License: PMD is licensed under a "BSD-style" License
PMD scans Java source code and looks for potential problems like:
* Poss
Java Anti-compilation plugin under Eclipse: Eclipse Class Decompiler, which integrates the best 2 Java decompile tools, Jad and Jd-core, and integrates seamlessly with the Eclipse class viewer It is convenient to use this plugin t
This article provides some tools to help you optimize the code and check potential problems in the source code.
1.PMDFrom http://pmd.sourceforge.net/
PMD can scan Java source code to find potential problems similar to the following:
Possible bug -- a null value is returned
Original postHttp://www.iteye.com/news/22285Original ENGLISHHttp://java.dzone.com/articles/java-tools-source-codeThis article provides some tools to help you optimize the code and check potential problems in the source code.1. pMD from http://pmd.sourceforge.net/PMD can scan
Original article: http://java.dzone.com/articles/java-tools-source-code
1.PMDFrom
Http://pmd.sourceforge.net/
PMD can scan Java source code to find potential problems similar to the following:
Potential bug -- a null value is returned in the try/catch/finally/switch state
addition, if you are the creator of the department code specification, you should also understand that programmers are not machines. It is almost impossible to write code without making code indentation errors. Tools-based batch formatting and sorting tools facilitate the c
1. Open Eclipse→windows→preferences→java→editor→content AssistTo modify the value of auto Activation triggers for Java: Zjava Click the Apply button
2. Continue opening javascript→editor→content AssistModify the value of auto Activation triggers for JavaScript to: ZJS Click the Apply button
3. Continue opening web→html files→editor→content Ass
agreed by the company code. If improving code quality is the primary goal, then PMD is a good choice. But if you want more features and really use tools to modify the code, you should try jalopy.
Jalopy
Jalopy is an easily configurable source code format program that
detailed information, refer to http://eclipse-cs.sourceforge.net/downloads.html
Checkstyle is also a rule-based Java code Static Analysis tool for better quality, readability, and reusability of Java code. Checkstyle defines the degree of rigor that can be configured, and e
Original address: http://blog.csdn.net/hdfyq/article/details/5821038:
Reason: Eclipse default code line width is 80, after formatting code, often wrapped, very ugly.
Workaround: JSP and XML are simpler to solve.
Open a JSP or XML. Right key->preferences-->source--> Find line width changed to 200.
Java S
Java Code auto prompt feature settings:
Configuration steps:
1 Windows > Preferences > Java > Editor > Content Assist
2 "Auto activation triggers for Java" This option refers to the option that triggers the code hint,
Put the "." Modified to ". Abcdefghijklmnopqrstuv
Document directory
1. How to query the local Java version?
2. Where is the Java Control Panel on Mac?
3. solve the problem that the source code cannot be found in eclipse. the JAR file/system/.../classes. Jar has no sourece attachment.
4. Modify the source code bound t
Java source code to C # five best toolsChszs, reprint need to indicate. Blog home:Http://blog.csdn.net/chszsFor some purposes, you may encounter the task of converting Java source code into C # source code. If you are understanding the source
Code Coverage
The more popular tool is Emma and Jacoco,ecliplse Plug-ins have eclemma. Emma was used before the eclemma2.0, followed by Jacoco. This is mainly about Jacoco. Eclmama is very easy to use because it is an eclipse plugin, so you don't have to do much about it. Jacoco
Jacoco can be embedded in ant, Maven, or use Java Agent technology to monitor arb
Http://www.codeceo.com/article/5-java-csharp-convert-tools.htmlUndoubtedly, Java is one of the most popular and widely used programming languages, with more than 9 million of Java developers currently working on Web services, and Java is known for "writing once and can run anywhere", and this is the main reason for its
play a ball? To this end, the use of some leisure time to write a common file upload and file download components, the implementation method is purely based on JSP, not too high technical difficulty, in short, young and old ^_^. Now the idea of design and the method of realization to everyone, hope to play a stimulating effect, inspire everyone's creative thinking. Resources:Https://github.com/ldcsaa/JessMA(as part of Jessma, code in Org.jessma.util.
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.