diff options
author | Lakshmi Shanmugam | 2018-09-04 12:57:25 +0000 |
---|---|---|
committer | Lakshmi Shanmugam | 2018-09-04 12:57:25 +0000 |
commit | 1908a508d3f270fdcc6397ffe14a8200d4d8b4fd (patch) | |
tree | c3c96c1a538db7a04b13bd177a8015451156ddfc | |
parent | 7f1dd2c898d8e0d06054913991c38178a50cf68d (diff) | |
download | eclipse.platform.common-1908a508d3f270fdcc6397ffe14a8200d4d8b4fd.tar.gz eclipse.platform.common-1908a508d3f270fdcc6397ffe14a8200d4d8b4fd.tar.xz eclipse.platform.common-1908a508d3f270fdcc6397ffe14a8200d4d8b4fd.zip |
Bug 538573: Update JDT Tips & Tricks for 4.9I20180904-2000
Added jdt tips and removed new image from 4.8 entries.
Change-Id: Ide5a60af648d796c288259401b6e523bee12876e
-rw-r--r-- | bundles/org.eclipse.jdt.doc.user/tips/images/quickfix_convert_to_static_import.png | bin | 0 -> 17305 bytes | |||
-rw-r--r-- | bundles/org.eclipse.jdt.doc.user/tips/images/show_command_line.png | bin | 0 -> 95499 bytes | |||
-rw-r--r-- | bundles/org.eclipse.jdt.doc.user/tips/jdt_tips.html | 33 | ||||
-rw-r--r-- | bundles/org.eclipse.pde.doc.user/tips/pde_tips.htm | 2 |
4 files changed, 27 insertions, 8 deletions
diff --git a/bundles/org.eclipse.jdt.doc.user/tips/images/quickfix_convert_to_static_import.png b/bundles/org.eclipse.jdt.doc.user/tips/images/quickfix_convert_to_static_import.png Binary files differnew file mode 100644 index 000000000..9c66eb3c7 --- /dev/null +++ b/bundles/org.eclipse.jdt.doc.user/tips/images/quickfix_convert_to_static_import.png diff --git a/bundles/org.eclipse.jdt.doc.user/tips/images/show_command_line.png b/bundles/org.eclipse.jdt.doc.user/tips/images/show_command_line.png Binary files differnew file mode 100644 index 000000000..debd0f404 --- /dev/null +++ b/bundles/org.eclipse.jdt.doc.user/tips/images/show_command_line.png diff --git a/bundles/org.eclipse.jdt.doc.user/tips/jdt_tips.html b/bundles/org.eclipse.jdt.doc.user/tips/jdt_tips.html index d057eadf6..89b50b4a9 100644 --- a/bundles/org.eclipse.jdt.doc.user/tips/jdt_tips.html +++ b/bundles/org.eclipse.jdt.doc.user/tips/jdt_tips.html @@ -432,7 +432,16 @@ features in this release. Override/Implement Methods</b>. This opens a dialog that lets you choose which methods to override. <p><img src="images/override-method.png" border="0" alt="'Override/Implement method' dialog"> -</p> + </p> + </td> + </tr> + <tr> + <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""><b>Quick fix to convert to static import</b></td> + <td valign="top" align="left" width="80%">A new quick fix has been implemented that allows the user to convert static field accesses and static methods to use a static import. + It's also possible to replace all occurrences at the same time. + <p> + <img src="images/quickfix_convert_to_static_import.png" alt=""> + </p> </td> </tr> <tr> @@ -599,7 +608,7 @@ features in this release. </td> </tr> <tr> - <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""><b>Create module-info.java file</b></td> + <td width="20%" valign="top" align="left"><b>Create module-info.java file</b></td> <td width="80%" valign="top">An existing non-modular Java project can be quickly converted to a module by creating a module-info.java file for that project. This feature can be availed once the project has been moved to compliance 9 or above: <p><img src="images/java9-create-module.png" alt="Configure > Create module-info.java"></p> @@ -834,7 +843,7 @@ features in this release. You'll find the action under <b>Source > Sort Members</b>.</td> </tr> <tr> - <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""><b>Sort library entries alphabetically in Package Explorer</b></td> + <td width="20%" valign="top" align="left"><b>Sort library entries alphabetically in Package Explorer</b></td> <td width="80%" valign="top" align="left"> The library entries can be sorted alphabetically when setting the preference <b>Sort library entries alphabetically in Package Explorer</b> on the <b>Java > Appearance</b> preference page: @@ -1179,7 +1188,7 @@ features in this release. </tr> <tr> - <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""><b>Navigate to 'switch' statement</b></td> + <td width="20%" valign="top" align="left"><b>Navigate to 'switch' statement</b></td> <td valign="top" align="left" width="80%"> You can <b>Ctrl+click</b> or use <b>Open Declaration (F3)</b> on <code>case</code> or <code>default</code> keywords to quickly navigate to the beginning of the <code>switch</code> statement. @@ -1425,7 +1434,7 @@ features in this release. </td> </tr> <tr> - <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""><b>Find the resolved type for <code>var</code></b></td> + <td width="20%" valign="top" align="left"><b>Find the resolved type for <code>var</code></b></td> <td valign="top" align="left" width="80%">You can hover over '<code>var</code>' to see the resolved type: <p><img src="images/hover-on-var.png" alt="hover on 'var' to see the resolved type"></p> To navigate to the resolved type, hold <b>Ctrl</b>, move the mouse pointer over '<code>var</code>', and click the hyperlink: @@ -2034,7 +2043,7 @@ public class HelloWorld { </tr> <tr id="is-modular-configuration"> - <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""><b>Configure properties of module path entries</b></td> + <td width="20%" valign="top" align="left"><b>Configure properties of module path entries</b></td> <td width="80%" valign="top" align="left"> In a Java project (Java 9 and above), a library or a container can be added to the module path in <b>Project properties > Java Build Path > Libraries</b> tab. The contents and encapsulation properties of this module path entry can further be modified by double-clicking on the <b>Is modular</b> node @@ -2155,7 +2164,7 @@ public class HelloWorld { </td> </tr> <tr> - <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""> + <td width="20%" valign="top" align="left"> <b>Override modular build path dependencies for launching</b> </td> <td width="80%" valign="top" align="left"> @@ -2165,6 +2174,16 @@ public class HelloWorld { </td> </tr> <tr> + <td width="20%" valign="top" align="left"><img src="images/new.png" alt=""> + <b>Show Command Line button in Launch Configuration</b> + </td> + <td width="80%" valign="top" align="left"> + A new button <b>Show Command Line</b> has been added in the <b>Java Launch Configuration</b> dialog. + <p><img src="images/show_command_line.png" alt=""></p> + Clicking the button will open a dialog to show the command line used for launching the application. + </td> + </tr> + <tr> <td width="20%" valign="top" align="left"> <b>Logical structures</b> </td> diff --git a/bundles/org.eclipse.pde.doc.user/tips/pde_tips.htm b/bundles/org.eclipse.pde.doc.user/tips/pde_tips.htm index eccf9530b..b0de844c4 100644 --- a/bundles/org.eclipse.pde.doc.user/tips/pde_tips.htm +++ b/bundles/org.eclipse.pde.doc.user/tips/pde_tips.htm @@ -23,7 +23,7 @@ <td valign="top" align="left" width="80%"> A new button <b>Show Command Line</b> has been added in the PDE launch configuration dialog. <p> - <img src="images/pde_show_command_line.png" alt=""/> + <img src="images/pde_show_command_line.png" alt=""> </p> Clicking the button will open a dialog to show the command line used for launching the application. </td> |