Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "CDT/User/NewIn50"
< CDT
m (→Editor) |
(→Editor) |
||
(21 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | = What is New in CDT 5 = | ||
+ | == Java 5.0+ JRE is required == | ||
+ | |||
+ | CDT 5.0 requires using the Java 5.0 or later JRE. | ||
+ | |||
== Editor == | == Editor == | ||
Line 5: | Line 10: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''Code and File Templates''' | | '''Code and File Templates''' | ||
− | || User-definable templates used to populate new files | + | || User-definable templates are now available and are used to populate new files. |
{| | {| | ||
|- | |- | ||
− | | New | + | | Code/File templates are used in the New Class and New Source/Header File wizards<br> |
|- | |- | ||
− | | | + | | New preference page C/C++ > Code Style > Code Templates<br> |
− | + | ||
|- | |- | ||
| New generic wizard: File from Template | | New generic wizard: File from Template | ||
Line 18: | Line 22: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | '''Outline for assembly files''' || | + | | '''Outline for assembly files''' || The outline view is now populated when editing assembly files. || <ul><li>[http://bugs.eclipse.org/206288 206288]<li>[http://bugs.eclipse.org/205567 205567]</ul> |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''Code formatter improvements''' | | '''Code formatter improvements''' | ||
|| | || | ||
− | {| | + | {| style="width:100%;" |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | New whitespace options || [http://bugs.eclipse.org/178601 178601] | + | | New whitespace options ||align="right"| [http://bugs.eclipse.org/178601 178601] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | New line wrapping options || [http://bugs.eclipse.org/191980 191980], [http://bugs.eclipse.org/192656 192656] | + | | New line wrapping options ||align="right"| [http://bugs.eclipse.org/191980 191980], [http://bugs.eclipse.org/192656 192656] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | Improve GNU coding style compliance || [http://bugs.eclipse.org/192764 192764] | + | | Improve GNU coding style compliance ||align="right"| [http://bugs.eclipse.org/192764 192764] |
|} | |} | ||
|| | || | ||
Line 36: | Line 40: | ||
| '''Content Assist improvements''' | | '''Content Assist improvements''' | ||
|| | || | ||
− | {| | + | {| style="width:100%;" |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | Ignore auto activation when typing float | + | | Ignore auto activation when typing float ||align="right"| [http://bugs.eclipse.org/193464 193464] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | Proposals for include directives || [http://bugs.eclipse.org/113568 113568] | + | | Proposals for include directives ||align="right"| [http://bugs.eclipse.org/113568 113568] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | Sort by relevance || [http://bugs.eclipse.org/172862 172862] | + | | Sort by relevance ||align="right"| [http://bugs.eclipse.org/172862 172862] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | Content assist within macro arguments || [http://bugs.eclipse.org/200208 200208] | + | | Content assist within macro arguments ||align="right"| [http://bugs.eclipse.org/200208 200208] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | Maintenance || [http://bugs.eclipse.org/191315 191315], [http://bugs.eclipse.org/229062 229062],[http://bugs.eclipse.org/230389 230389] | + | | Maintenance ||align="right"| [http://bugs.eclipse.org/191315 191315], [http://bugs.eclipse.org/229062 229062],[http://bugs.eclipse.org/230389 230389] |
|} | |} | ||
|| | || | ||
Line 52: | Line 56: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''Doxygen editor support (plus framework)''' | | '''Doxygen editor support (plus framework)''' | ||
− | || Auto-generation of tags and | + | || Auto-generation of tags and a pluggable framework for other documentation tools is now available.<br> |
|| [http://bugs.eclipse.org/178386 178386] | || [http://bugs.eclipse.org/178386 178386] | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| '''Mark Occurrences''' | | '''Mark Occurrences''' | ||
− | || Highlights where the selected identifier occurs | + | || Highlights where the selected identifier occurs elsewhere in the editor.<br> |
|| [http://bugs.eclipse.org/159812 159812] | || [http://bugs.eclipse.org/159812 159812] | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | '''Folding of compound statements''' | + | | '''Folding of compound statements''' || [http://bugs.eclipse.org/174597 174597] (contributed by Elazar Leibovich) |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
Line 67: | Line 71: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | '''Spell Checking''' || | + | | '''Spell Checking''' || Spell-checking is now available and enabled by default.<br>|| [http://bugs.eclipse.org/190512 190512] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | '''Scalability mode''' || | + | | '''Scalability mode''' || The editor can now be opened with reduced functionality when working with very large files.<br> || [http://bugs.eclipse.org/226955 226955] |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | '''Visual Studio key bindings''' || | + | | '''Visual Studio key bindings''' || You can now configure the IDE to recognize Visual Studio key bindings<br>|| [http://bugs.eclipse.org/209218 209218] |
|} | |} | ||
== Navigation and Search == | == Navigation and Search == | ||
− | + | {| style="width:95%;" | |
− | + | ||
− | + | |- style="vertical-align:top;" | |
− | + | | '''Open Declaration''' | |
− | + | || | |
− | + | {| style="width:100%;" | |
− | + | |- | |
− | + | | Operators ||align="right"| [http://bugs.eclipse.org/93281 93281] | |
− | + | |- | |
− | + | | Empty macros ||align="right"| [http://bugs.eclipse.org/198649 198649] | |
− | + | |- | |
− | + | | From elements in the Outline View ||align="right"| [http://bugs.eclipse.org/222721 222721] | |
− | + | |- | |
− | + | | From within preprocessing statements ||align="right"| [http://bugs.eclipse.org/215906 215906] | |
+ | |- | ||
+ | | From arguments to a macro expansion ||align="right"| [http://bugs.eclipse.org/208300 208300] | ||
+ | |} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Open Element''' | ||
+ | || | ||
+ | {| style="width:100%;" | ||
+ | |- | ||
+ | | Support for static functions/variables ||align="right"| [http://bugs.eclipse.org/193057 193057] | ||
+ | |- | ||
+ | | Improvements to the Open Element dialog ||align="right"| <ul><li>[http://bugs.eclipse.org/209550 209550]<li>[http://bugs.eclipse.org/209762 209762]</ul> | ||
+ | |} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Search''' | ||
+ | || | ||
+ | {| style="width:100%;" | ||
+ | |- | ||
+ | | Static functions/variables ||align="right"| [http://bugs.eclipse.org/196414 196414] | ||
+ | |- | ||
+ | | Search for macros ||align="right"| [http://bugs.eclipse.org/156561 156561] | ||
+ | |- | ||
+ | | Search for references of local variables ||align="right"| [http://bugs.eclipse.org/151334 151334] | ||
+ | |- | ||
+ | | Search view usability improvements ||align="right"| [http://bugs.eclipse.org/212166 212166] | ||
+ | |} | ||
+ | |||
+ | |} | ||
== Call Hierarchy == | == Call Hierarchy == | ||
− | + | {| style="width:100%;" | |
− | + | ||
+ | |- style="vertical-align:top;" | ||
+ | | '''Read/Write decorators''' || Icon decorator to show read and write-access for variables || [http://bugs.eclipse.org/156692 156692] | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Polymorphic method calls''' || Support for polymorphic method calls (virtual methods) || [http://bugs.eclipse.org/156689 156689] | ||
+ | |||
+ | |} | ||
== Refactoring == | == Refactoring == | ||
− | + | {| style="width:95%;" | |
− | + | ||
− | + | ||
− | + | |- style="vertical-align:top;" | |
− | + | | '''Infrastructure''' || | |
− | + | {| style="width:100%;" | |
− | + | |- style="vertical-align:top;" | |
− | + | | Modelling transformations on the AST ||align="right"| [http://bugs.eclipse.org/214334 214334] | |
− | + | |- style="vertical-align:top;" | |
+ | | Filtering context-menu based on selection ||align="right"| [http://bugs.eclipse.org/60249 60249] | ||
+ | |} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Generate Getter Setters''' ||align="right"| [http://bugs.eclipse.org/226658 226658] | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Hide Method''' ||align="right"| [http://bugs.eclipse.org/226490 226490] | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Implement Method''' ||align="right"| [http://bugs.eclipse.org/226646 226646] | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Extract Constant''' ||align="right"| [http://bugs.eclipse.org/181493 181493] | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Extract Function''' ||align="right"| [http://bugs.eclipse.org/226484 226484] | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Maintenance of rename-refactoring''' ||align="right"| [http://bugs.eclipse.org/220741 220741] | ||
+ | |||
+ | |} | ||
== Indexer == | == Indexer == | ||
− | + | ||
− | + | {| style="width:95%;" | |
− | + | ||
− | + | |- style="vertical-align:top;" | |
− | + | | '''Improved Accuracy''' | |
− | + | || | |
− | + | {| style="width:100%;vertical-align:top;" | |
− | + | |- style="vertical-align:top;" | |
− | + | | Projects with c and c++ files ||align="right"| <ul><li>[http://bugs.eclipse.org/191989 191989]<li>[http://bugs.eclipse.org/191315 191315]<li> [http://bugs.eclipse.org/183126 183126]<li>[http://bugs.eclipse.org/224711 224711]</ul> | |
− | + | |- | |
− | + | | Handling static variables/functions defined in a header ||align="right"| [http://bugs.eclipse.org/180305 180305] | |
− | + | |- | |
− | + | | Support for unnamed namespaces ||align="right"| [http://bugs.eclipse.org/162226 162226] | |
− | + | |- | |
− | + | | Support for nested anonymous struct members ||align="right"| [http://bugs.eclipse.org/216791 216791] | |
− | + | |- | |
− | + | | Support for namespace composition ||align="right"| [http://bugs.eclipse.org/200673 200673] | |
− | + | |- | |
− | + | | Support for using declarations ||align="right"| [http://bugs.eclipse.org/216527 216527] | |
− | + | |- | |
− | + | | Support for long long ||align="right"| [http://bugs.eclipse.org/209049 209049] | |
− | + | |- | |
− | + | | Support for asm labels ||align="right"| [http://bugs.eclipse.org/226121 226121] | |
− | + | |- | |
− | + | | Support for ommitted operands in conditional expressions ||align="right"| [http://bugs.eclipse.org/212905 212905] | |
+ | |- | ||
+ | | Support for case-declarations with ranges ||align="right"| [http://bugs.eclipse.org/211882 211882] | ||
+ | |} | ||
+ | || | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Improved Performance''' | ||
+ | || | ||
+ | {| style="width:100%;vertical-align:top;" | ||
+ | |- | ||
+ | | Performance improvement when using large include search paths ||align="right"| [http://bugs.eclipse.org/225302 225302] | ||
+ | |- | ||
+ | | Smaller index databases ||align="right"| [http://bugs.eclipse.org/210392 210392] | ||
+ | |} | ||
+ | || | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Entirely new Preprocessor''' | ||
+ | || | ||
+ | {| style="width:100%;vertical-align:top;" | ||
+ | |- | ||
+ | | Comment tokens ignored when on same line as directive ||align="right"| [http://bugs.eclipse.org/192546 192546] | ||
+ | |- | ||
+ | | ASCII control characters in C/C++ files are flagged as errors ||align="right"| [http://bugs.eclipse.org/106344 106344] | ||
+ | |- | ||
+ | | Support for alternate keywords (or, ...) ||align="right"| [http://bugs.eclipse.org/187776 187776] | ||
+ | |- | ||
+ | | Scanner incorrectly handles #include line with macro ||align="right"| [http://bugs.eclipse.org/156990 156990] | ||
+ | |- | ||
+ | | Unreported references to macros when passed as argument to another macro ||align="right"| [http://bugs.eclipse.org/94673 94673] | ||
+ | |- | ||
+ | | Fix the location concept for the AST ||align="right"| [http://bugs.eclipse.org/202459 202459] | ||
+ | |- | ||
+ | | Support for trigraphs and digraphs ||align="right"| [http://bugs.eclipse.org/64993 64993] | ||
+ | |- | ||
+ | | Others ||align="right"| [http://bugs.eclipse.org/145270 145270] [http://bugs.eclipse.org/117029 117029], [http://bugs.eclipse.org/210344 210344], [http://bugs.eclipse.org/190884 190884], [http://bugs.eclipse.org/188855 188855], [http://bugs.eclipse.org/180140 180140], [http://bugs.eclipse.org/122891 122891], [http://bugs.eclipse.org/120472 120472], [http://bugs.eclipse.org/116962 116962], [http://bugs.eclipse.org/90956 90956], [http://bugs.eclipse.org/90978 90978] | ||
+ | |} | ||
+ | || | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Improved Infrastructure''' | ||
+ | || | ||
+ | {| style="width:100%;vertical-align:top;" | ||
+ | |- | ||
+ | | Diagnostics for indexer ||align="right"| [http://bugs.eclipse.org/213561 213561] | ||
+ | |- | ||
+ | | Improved configuration of indexer ||align="right"| [http://bugs.eclipse.org/215789 215789], [http://bugs.eclipse.org/173848 173848], [http://bugs.eclipse.org/215783, 215783], [http://bugs.eclipse.org/220358 220358], [http://bugs.eclipse.org/227088 227088], [http://bugs.eclipse.org/228012 228012] | ||
+ | |} | ||
+ | || | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Visual indication of indexer status''' || | ||
+ | {| | ||
+ | |- You can enable decorations in the Project Explorer to inspect which files have been indexed ||align="right"| [http://bugs.eclipse.org/159731 159731] | ||
+ | |} | ||
+ | || | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | '''Maintenance''' || | ||
+ | {| | ||
+ | |- | ||
+ | | ||align="right"| [http://bugs.eclipse.org/104706 104706], [http://bugs.eclipse.org/162470 162470], [http://bugs.eclipse.org/168924 168924], [http://bugs.eclipse.org/185343 185343], [http://bugs.eclipse.org/203170 203170], [http://bugs.eclipse.org/209682 209682], [http://bugs.eclipse.org/209813 209813], [http://bugs.eclipse.org/210730 210730], [http://bugs.eclipse.org/211457 211457], [http://bugs.eclipse.org/211603 211603], [http://bugs.eclipse.org/213029 213029], [http://bugs.eclipse.org/213287 213287], [http://bugs.eclipse.org/213861 213861], [http://bugs.eclipse.org/214017 214017], [http://bugs.eclipse.org/214146 214146], [http://bugs.eclipse.org/215629 215629], [http://bugs.eclipse.org/215642 215642], [http://bugs.eclipse.org/217102 217102], [http://bugs.eclipse.org/217271 217271], [http://bugs.eclipse.org/217414 217414], [http://bugs.eclipse.org/209582 209582], [http://bugs.eclipse.org/218389 218389], [http://bugs.eclipse.org/219424 219424], [http://bugs.eclipse.org/219834 219834], [http://bugs.eclipse.org/221796 221796], [http://bugs.eclipse.org/222026 222026], [http://bugs.eclipse.org/223020 223020], [http://bugs.eclipse.org/223777 223777], [http://bugs.eclipse.org/226274 226274], [http://bugs.eclipse.org/226492 226492], [http://bugs.eclipse.org/226877 226877], [http://bugs.eclipse.org/227082 227082], [http://bugs.eclipse.org/227085 227085], [http://bugs.eclipse.org/227110 227110], [http://bugs.eclipse.org/227122 227122], [http://bugs.eclipse.org/227393 227393], [http://bugs.eclipse.org/228118 228118], [http://bugs.eclipse.org/228422 228422], [http://bugs.eclipse.org/228504 228504], [http://bugs.eclipse.org/229917 229917], [http://bugs.eclipse.org/229218 229218], [http://bugs.eclipse.org/229917 229917], [http://bugs.eclipse.org/231744 231744], [http://bugs.eclipse.org/232086 232086], [http://bugs.eclipse.org/233511 233511] | ||
+ | |} | ||
+ | || | ||
+ | |||
+ | |} | ||
== Projects & Build == | == Projects & Build == | ||
− | + | {| style="width:95%;" | |
− | + | |- style="vertical-align:top;" | |
+ | | '''Project Properties''' || Improved usability of Project Properties pages ||align="right"| [http://bugs.eclipse.org/bugs/show_bug.cgi?id=228953 228953], [http://bugs.eclipse.org/bugs/show_bug.cgi?id=228958 228958], [http://bugs.eclipse.org/bugs/show_bug.cgi?id=229771 229771] | ||
+ | |- style="vertical-align:top;" | ||
+ | | '''Make target locations''' || Make targets at the project level are built in the project build directory ||align="right"| [http://bugs.eclipse.org/bugs/show_bug.cgi?id=176906 176906]. | ||
+ | |} | ||
== Debug == | == Debug == | ||
− | + | ||
− | + | {| style="width:95%;" | |
+ | |- style="vertical-align:top;" | ||
+ | | '''Executables View''' || ||align="right"| [http://bugs.eclipse.org/182388 182388] | ||
+ | |- style="vertical-align:top;" | ||
+ | | '''Event breakpoints''' || Added gdb catchpoints (event breakpoints) support ||align="right"| [http://bugs.eclipse.org/bugs/show_bug.cgi?id=226689 226689] | ||
+ | |} |
Latest revision as of 13:26, 17 September 2010
Contents
What is New in CDT 5
Java 5.0+ JRE is required
CDT 5.0 requires using the Java 5.0 or later JRE.
Editor
Code and File Templates | User-definable templates are now available and are used to populate new files.
|
|||||||||||
Outline for assembly files | The outline view is now populated when editing assembly files. | |||||||||||
Code formatter improvements |
|
|||||||||||
Content Assist improvements |
|
|||||||||||
Doxygen editor support (plus framework) | Auto-generation of tags and a pluggable framework for other documentation tools is now available. |
178386 | ||||||||||
Mark Occurrences | Highlights where the selected identifier occurs elsewhere in the editor. |
159812 | ||||||||||
Folding of compound statements | 174597 (contributed by Elazar Leibovich) | |||||||||||
Macro expansion hover and exploration tool | Description | 23540 | ||||||||||
Spell Checking | Spell-checking is now available and enabled by default. |
190512 | ||||||||||
Scalability mode | The editor can now be opened with reduced functionality when working with very large files. |
226955 | ||||||||||
Visual Studio key bindings | You can now configure the IDE to recognize Visual Studio key bindings |
209218 |
Open Declaration |
| ||||||||||
Open Element |
| ||||||||||
Search |
|
Call Hierarchy
Read/Write decorators | Icon decorator to show read and write-access for variables | 156692 |
Polymorphic method calls | Support for polymorphic method calls (virtual methods) | 156689 |
Refactoring
Infrastructure |
| ||||
Generate Getter Setters | 226658 | ||||
Hide Method | 226490 | ||||
Implement Method | 226646 | ||||
Extract Constant | 181493 | ||||
Extract Function | 226484 | ||||
Maintenance of rename-refactoring | 220741 |
Indexer
Improved Accuracy |
|
|||||||||||||||||||||
Improved Performance |
|
|||||||||||||||||||||
Entirely new Preprocessor |
|
|||||||||||||||||||||
Improved Infrastructure |
|
|||||||||||||||||||||
Visual indication of indexer status |
|
|||||||||||||||||||||
Maintenance |
|
Projects & Build
Project Properties | Improved usability of Project Properties pages | 228953, 228958, 229771 |
Make target locations | Make targets at the project level are built in the project build directory | 176906. |
Debug
Executables View | 182388 | |
Event breakpoints | Added gdb catchpoints (event breakpoints) support | 226689 |