|
1 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
3 | 3 | <head> |
4 | | -<meta name="copyright" content="Copyright (c) Eclipse contributors and others 2018, 2019. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/> |
| 4 | +<meta name="copyright" content="Copyright (c) Eclipse contributors and others 2018, 2025. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page."/> |
5 | 5 | <meta http-equiv="Content-Language" content="en-us"/> |
6 | 6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
7 | 7 | <link rel="STYLESHEET" href="news.css" type="text/css"/> |
@@ -97,6 +97,62 @@ <h2>Java Formatter </h2> |
97 | 97 | <h2>Debug</h2> |
98 | 98 | </td> |
99 | 99 | </tr> |
| 100 | + <tr id="compare-objects"> |
| 101 | + <td class="title">Compare Objects from Variables View</td> |
| 102 | + <td class="content"> |
| 103 | + Developers can now easily compare elements in objects of the same type, such as <b><i>Lists, CharSequences, Sets, Iterables, Maps, Wrappers, Queues, and Deques</i> </b>, directly from the variables view. |
| 104 | + This feature provides a summarised overview of their similarities and differences. |
| 105 | + For other Java types, comparisons will be made based on their fields (if available), or by their references if fields are not present. |
| 106 | + This eliminates the need to write explicit comparison code in the debug shell or manually inspect each collection.<br> Simply stop at a breakpoint, select at least two variables of the same type, and view the comparison results.. |
| 107 | + <br> |
| 108 | + <br>Here's an example <br> |
| 109 | + We have stopped at line 26 which left us 4 objects of List types, now all we have to do is just select all 4 and choose "<b>Compare</b>" from right click |
| 110 | + <p> |
| 111 | + <img src="images/compareObjects_Menu.png" alt="Compare objects from variables view"/> |
| 112 | + </p> |
| 113 | + <br> Results |
| 114 | + <p> |
| 115 | + <img src="images/compareObjects_Results1.png" alt="Results of comparison"/> |
| 116 | + </p> |
| 117 | + <br> |
| 118 | + Another example of comparing two char sequences <br> |
| 119 | + <p> |
| 120 | + <img src="images/compareObjects_Results2.png" alt="Results of comparison"/> |
| 121 | + </p> |
| 122 | + <br> Maps <br> |
| 123 | + <p> |
| 124 | + <img src="images/compareObjects_Results3.png" alt="Results of comparison"/> |
| 125 | + </p> |
| 126 | + <br> Custom Types (Fields available) <br> |
| 127 | + <p> |
| 128 | + <img src="images/compareObjects_Results4.png" alt="Results of comparison"/> |
| 129 | + </p> |
| 130 | + <br> Custom Types (Fields unavailable) <br> |
| 131 | + <p> |
| 132 | + <img src="images/compareObjects_Results5.png" alt="Results of comparison"/> |
| 133 | + </p> |
| 134 | + </td> |
| 135 | + </td> |
| 136 | + </tr> |
| 137 | + |
| 138 | + <tr id="Detailformatter-for-primitives"> |
| 139 | + <td class="title">Detail formatters for primitives and arrays</td> |
| 140 | + <td class="content"> |
| 141 | + Developers can now add custom formatters for Java primitives and arrays. An additional option to configure formatters for primitives is available under<b> Preferences -> Detail Formatters -> Add </b>. |
| 142 | + <p> |
| 143 | + <img src="images/detailFormatters_Primitives.png" alt="detail formatters option"/> |
| 144 | + </p><br> |
| 145 | + <p> |
| 146 | + <img src="images/detailFormatters_Primitives2.png" alt="detail formatters option"/> |
| 147 | + </p> |
| 148 | + Custom formatting can also be accessed from the variables view menu options.<br> |
| 149 | + <p> |
| 150 | + <img src="images/detailFormatters_Primitives3.png" alt="detail formatters option"/> |
| 151 | + </p> |
| 152 | + <br> |
| 153 | + </td> |
| 154 | + </td> |
| 155 | + </tr> |
100 | 156 | <!--************************ End of Debug ******************************** --> |
101 | 157 |
|
102 | 158 | <!-- *********************** JDT Developers ******************************** --> |
|
0 commit comments