Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
PDT/NewIn40
< PDT
We fixed / closed over 100 bugs in this release!
Contents
General
- Final support for PHP 7 scalar type declarations bug 469267
- Support for Eclipse Neon smart import bug 476862
- Validator for non abstract methods without body bug 480280
- Since 4.0 PDT uses the significantly faster DLTK 5.5 Lucene indexer, instead of the old H2 indexer bug 492870
- Better error messages for unsupported PHP versions (especially for legacy versions) bug 493263
- Better task tags (eg. @todo) detection bug 492373
- Use statement validator no longer analyze PHP comments (except phpdoc) bug 477908
- Validator for multiple access modifiers (eg. public private function) bug 486166
- Methods and functions are visible as "void" only if haven't return and yield statements. Otherwise have declared return type or "mixed" bug 469508
- PHP 5.6 variadic parameters have "..." in function labels (Code Assist, Hover, Outline) bug 493917
- Optimized size of New PHP Project wizard bug 495271
Editor
- Constants are no longer suggested after "implements" keyword bug 492245
- Simple types (int, bool, string...) for PHP >= 7 return types bug 492424
- Basic JavaScript Code Assist for projects without JavaScript nature bug 492981
- "class" keyword code assist for anonymous class bug 493077
- Improved support around @inheritdoc (coloring and code assist) bug 491991
- Since 4.0 more semantic highlighters are enabled by default, for example class, deprecation and constants highlighter bug 436044
- Improve highlighting for "array" type bug 463556
- Add support for "instanceof" and "insteadof" in class semantic highlighter bug 470782
- Assign to local quick assist (ctrl/cmd + 2 + L) bug 479088
- General performance improvements for PHPDoc generation bug 489791 bug 466694
- Smart parenthesis works correctly inside closures bug 493134
- Hyperlinks and code assist no longer freeze UI if indexing is in progress bug 488084
- Syntax highlighter now fully support PHP 7 context sensitive keywords - no longer highlight as PHP keywords bug 475958
- Deprecated highlighting is show even if class in same namespace bug 486166
- "abstract" keyword is no longer proposed inside method body bug 491784
- Function / method return types are available in Content Assist proposals bug 494800
- Content Assist now support colored labels bug 494794
- Content Assist and Hover tooltips shows function / method return types bug 494237
- "Properties" item has been removed from editor context menu bug 494455
- Quick Source and Quick Refactor menu bug 384340
- Add support for "Word wrap", "Block selection", "Show white space characters" action in PHP editor toolbar bug 494454
- Quick Outline saves size and location bug 494859
Debugging
- OSX support improvements bug 488630
- Improvements in debugger variables support bug 487966 bug 490697
- No longer display outdated values bug 477241
- Fix ignored breakpoints bug 489646
- Added support for class statics inside namespace bug 492992
- Remove PDT "Parameter Stack" view bug 492010
- [Zend Debugger] Fix variables fetching with static context in PHP 7 bug 493839
- Fix 'Display debug information' saving bug 493154
Other
- "Short method return types" are enabled by default in all PDT views bug 469503
- Better integration with eclipse Project Explorer. Support for PHP Project elements and specific actions. bug 480376 bug 480374 bug 494124 bug 494124 bug 494253
- Support for traits in PHP Project Explorer when "group by namespace" is active bug 488685
- PHP Language Library have PHP Version badge bug 494137
- "Add PHP support..." no longer visible in PHP-enabled projects bug 494299
- Fixed regression during updating PHP file outline with PHP < 5.3 bug 494286
Adopters / Extenders
- API cleanup, a lot of @deprecated methods and classes has been removed bug 492330 bug 493467
- AST StaticFieldAccess now is built correctly between PHP Versions 489554
- Outdated PhpDemoProject has been removed bug 480103
- PHPVersion enum has been added to API bug 452480
- Quick menus are extendable via org.eclipse.ui.menus extension point
Source: popup:org.eclipse.php.ui.edit.text.source.quickMenu
Refactor: popup:org.eclipse.php.ui.edit.text.refactor.quickMenu
Full bugs list for this release cycle
4.0.0 - https://projects.eclipse.org/projects/tools.pdt/releases/4.0/bugs
Previous News&Noteworthy page
3.7.0 - https://wiki.eclipse.org/PDT/NewIn37