jdt-core-home/tools/jdtcoretools/index.html
Parent Directory
|
Revision Log
Revision 1.3 -
(download)
(as text)
(annotate)
Mon Sep 19 14:02:29 2005 UTC (4 years, 2 months ago) by oliviert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +26 -0 lines
Mon Sep 19 14:02:29 2005 UTC (4 years, 2 months ago) by oliviert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +26 -0 lines
Add description
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>JDT Core Component Development Resources</title> <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> </head> <body text="#000000" bgcolor="#FFFFFF"> Back to <a href="../../dev.html">JDT Core Component Development Resources page</a>. <table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH="100%" > <tr> <td ALIGN=LEFT VALIGN=TOP COLSPAN="2" BGCOLOR="#0080C0"><b><font face="Arial,Helvetica"><font color="#FFFFFF">JDT/Core Tools</font></font></b></td> </tr> <tr> <td ALIGN=RIGHT VALIGN=TOP WIDTH="2%"><img src="http://dev.eclipse.org/images/Adarrow.gif" border=0 height=16 width=16></td> <td WIDTH="98%"><b>Purpose</b> <p>Unnecessary NLS tag remover:</p> <blockquote>This tool can be used remove unnecessary nls tags. It works on a java project, java package fragment root, java package fragment, or a compilation unit.</blockquote> <p>Position of DOM/AST nodes:</p> <blockquote>This tool can be used to check the positions of each DOM/AST nodes and its children. It works on a java project, java package fragment root, java package fragment, or a compilation unit.</blockquote> </td> </tr> <tr> <td ALIGN=RIGHT VALIGN=TOP WIDTH="2%"><img src="http://dev.eclipse.org/images/Adarrow.gif" border=0 height=16 width=16></td> <td WIDTH="98%"><b>What's new</b> <ul> <li>It handles nls tags within commented code</li> <li>It handles multiple nls tags</li> <li>nls tags are ignored in isolated line comments like:<br> <pre> <code> ... // System.out.println(""); //$NON-NLS-1$ ...</code> </pre> </li> <li>Other nls comments are reported as unnecessary if they don't match a corresponding string literal</li> <li>The tool removes the unnecessary nls tags even if the line comment is used for another comment: <pre> <code>String s = "Hello, World"; //$NON-NLS-1$ This won't be removed //$NON-NLS-2$ at all</code> </pre> becomes: <pre> <code>String s = "Hello, World"; //$NON-NLS-1$ This won't be removed at all</code> </pre> </li> <li>It also removes the trailing whitespace when the nls tag is the only comment on a line. <pre> <code>String s = null; //$NON-NLS-1$<end of line></code> </pre> becomes: <pre> <code>String s = null;<end of line></code> </pre> </li> </ul> </td> </tr> <tr> <td ALIGN=RIGHT VALIGN=TOP WIDTH="2%"><img src="http://dev.eclipse.org/images/Adarrow.gif" border=0 height=16 width=16></td> <td WIDTH="98%"><b>Install</b> <p> Use this update site.<br> <blockquote>http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/tools/jdtcoretools/update-site </blockquote </p> </td> </tr> </table> </body> </html>
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
