Difference between revisions of "PDT/NewIn40"
< PDT
Line 5: | Line 5: | ||
We fixed / closed around 70 bugs in this release! | We fixed / closed around 70 bugs in this release! | ||
− | === General === | + | === General === |
− | + | # Final support for PHP 7 scalar type declarations [https://bugs.eclipse.org/bugs/show_bug.cgi?id=469267 bug 469267] <br /> [[File:pdt40_scalar.png]] | |
− | # Final support for PHP 7 scalar type declarations [https://bugs.eclipse.org/bugs/show_bug.cgi?id=469267 bug 469267] | + | # Support for Eclipse Neon smart import [https://bugs.eclipse.org/bugs/show_bug.cgi?id=476862 bug 476862] <br /> [[File:pdt40_smart_import.png|450px]] |
− | # Support for Eclipse Neon smart import [https://bugs.eclipse.org/bugs/show_bug.cgi?id=476862 bug 476862] | + | # Validator for non abstract methods without body [https://bugs.eclipse.org/bugs/show_bug.cgi?id=480280 bug 480280] <br /> [[File:pdt40_no_body.png]] |
− | # Validator for non abstract methods without body [https://bugs.eclipse.org/bugs/show_bug.cgi?id=480280 bug 480280] | + | |
# Since 4.0 PDT use DLTK 5.5 Lucene indexer [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492870 bug 492870] | # Since 4.0 PDT use DLTK 5.5 Lucene indexer [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492870 bug 492870] | ||
# Better error messages for unsupported PHP versions (especially for legacy versions) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493263 bug 493263] | # Better error messages for unsupported PHP versions (especially for legacy versions) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493263 bug 493263] | ||
− | # Better task tags (eg. @todo) detection [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492373 bug 492373] | + | # Better task tags (eg. @todo) detection [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492373 bug 492373] <br /> [[File:pdt40_task_tags.png]] |
− | # Use statement validator | + | # Use statement validator no longer analyze PHP comments (except phpdoc) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=477908 bug 477908] <br /> [[File:pdt40_use.png]] |
− | # Validator for multiple access modifiers (eg. public private function) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=486166 bug 486166] | + | # Validator for multiple access modifiers (eg. public private function) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=486166 bug 486166] <br /> [[File:Pdt40_multiple_access_modifiers.png]] |
− | # Methods and functions are visible as "void" only if haven't return and yield statements. Otherwise have declared return type or "mixed" [https://bugs.eclipse.org/bugs/show_bug.cgi?id=469508 bug 469508] | + | # Methods and functions are visible as "void" only if haven't return and yield statements. Otherwise have declared return type or "mixed" [https://bugs.eclipse.org/bugs/show_bug.cgi?id=469508 bug 469508] <br /> [[File:pdt40_return_types.png]] |
=== Editor === | === Editor === | ||
− | |||
− | |||
# Constants are no longer suggested after "implements" keyword [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492245 bug 492245] | # Constants are no longer suggested after "implements" keyword [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492245 bug 492245] | ||
− | # Simple types (int, bool, string...) for PHP >= 7 return types [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492424 bug 492424] | + | # Simple types (int, bool, string...) for PHP >= 7 return types [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492424 bug 492424] <br /> [[File:pdt40_return_sugestion.png]] |
− | # Basic JavaScript | + | # Basic JavaScript Code Assit for projects without JavaScript nature [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492981 bug 492981] |
# "class" keyword code assist for anonymous class [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493077 bug 493077] | # "class" keyword code assist for anonymous class [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493077 bug 493077] | ||
− | # Improved support around @inheritdoc (coloring | + | # Improved support around @inheritdoc (coloring and code assist) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=491991 bug 491991] |
− | # Since 4.0 more semantic highlighters are enabled by default, for example class, deprecation and | + | # Since 4.0 more semantic highlighters are enabled by default, for example class, deprecation and constants highlighter [https://bugs.eclipse.org/bugs/show_bug.cgi?id=436044 bug 436044] <br /> [[File:pdt40_default_highlighters.png|300px]] |
− | # Improve highlighting for "array" type [https://bugs.eclipse.org/bugs/show_bug.cgi?id=463556 bug 463556] | + | # Improve highlighting for "array" type [https://bugs.eclipse.org/bugs/show_bug.cgi?id=463556 bug 463556] <br /> [[File:pdt40_array_highlight.png]] |
− | # | + | # Add support for "instanceof" and "insteadof" in class semantic highlighter [https://bugs.eclipse.org/bugs/show_bug.cgi?id=470782 bug 470782] <br /> [[File:pdt40_class_instanceof.png]] |
− | # Assign to local quick assist (ctrl/cmd + 2 + L) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=479088 bug 479088] | + | # Assign to local quick assist (ctrl/cmd + 2 + L) [https://bugs.eclipse.org/bugs/show_bug.cgi?id=479088 bug 479088] <br /> [[File:pdt40_assign_to_local.png]] |
# General performance improvements for PHPDoc generation [https://bugs.eclipse.org/bugs/show_bug.cgi?id=489791 bug 489791] [https://bugs.eclipse.org/bugs/show_bug.cgi?id=466694 bug 466694] | # General performance improvements for PHPDoc generation [https://bugs.eclipse.org/bugs/show_bug.cgi?id=489791 bug 489791] [https://bugs.eclipse.org/bugs/show_bug.cgi?id=466694 bug 466694] | ||
# Smart parenthesis works correctly inside closures [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493134 bug 493134] | # Smart parenthesis works correctly inside closures [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493134 bug 493134] | ||
# Hyperlinks and code assist no longer freeze UI if indexing is in progress [https://bugs.eclipse.org/bugs/show_bug.cgi?id=488084 bug 488084] | # Hyperlinks and code assist no longer freeze UI if indexing is in progress [https://bugs.eclipse.org/bugs/show_bug.cgi?id=488084 bug 488084] | ||
− | # Syntax highlighter now fully support PHP 7 context sensitive keywords [https://bugs.eclipse.org/bugs/show_bug.cgi?id=475958 bug 475958] | + | # Syntax highlighter now fully support PHP 7 context sensitive keywords - no longer highlight as PHP keywords [https://bugs.eclipse.org/bugs/show_bug.cgi?id=475958 bug 475958] <br /> [[File:pdt40_context_sensitive.png]] |
+ | # Deprecated highlighting is show even if class in same namespace [https://bugs.eclipse.org/bugs/show_bug.cgi?id=486166 bug 486166] | ||
+ | # "abstract" keyword is no longer proposed inside method body [https://bugs.eclipse.org/bugs/show_bug.cgi?id=491784 bug 491784] | ||
Line 40: | Line 39: | ||
# No longer display outdated values [https://bugs.eclipse.org/bugs/show_bug.cgi?id=477241 bug 477241] | # No longer display outdated values [https://bugs.eclipse.org/bugs/show_bug.cgi?id=477241 bug 477241] | ||
# Fix ignored breakpoints [https://bugs.eclipse.org/bugs/show_bug.cgi?id=489646 bug 489646] | # Fix ignored breakpoints [https://bugs.eclipse.org/bugs/show_bug.cgi?id=489646 bug 489646] | ||
− | # | + | # Added support for class statics inside namespace [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492992 bug 492992] |
# Remove PDT "Parameter Stack" view [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492010 bug 492010] | # Remove PDT "Parameter Stack" view [https://bugs.eclipse.org/bugs/show_bug.cgi?id=492010 bug 492010] | ||
# [Zend Debugger] Fix variables fetching with static context in PHP 7 [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493839 bug 493839] | # [Zend Debugger] Fix variables fetching with static context in PHP 7 [https://bugs.eclipse.org/bugs/show_bug.cgi?id=493839 bug 493839] | ||
Line 49: | Line 48: | ||
# Better integration with eclipse Project Explorer [https://bugs.eclipse.org/bugs/show_bug.cgi?id=480376 bug 480376] [https://bugs.eclipse.org/bugs/show_bug.cgi?id=480374 bug 480374] [https://bugs.eclipse.org/bugs/show_bug.cgi?id=494124 bug 494124] | # Better integration with eclipse Project Explorer [https://bugs.eclipse.org/bugs/show_bug.cgi?id=480376 bug 480376] [https://bugs.eclipse.org/bugs/show_bug.cgi?id=480374 bug 480374] [https://bugs.eclipse.org/bugs/show_bug.cgi?id=494124 bug 494124] | ||
# Support for traits in PHP Project Explorer when "group by namespace" is active [https://bugs.eclipse.org/bugs/show_bug.cgi?id=488685 bug 488685] | # Support for traits in PHP Project Explorer when "group by namespace" is active [https://bugs.eclipse.org/bugs/show_bug.cgi?id=488685 bug 488685] | ||
− | # PHP Language Library have PHP Version badge [https://bugs.eclipse.org/bugs/show_bug.cgi?id=494137 bug 494137] | + | # PHP Language Library have PHP Version badge [https://bugs.eclipse.org/bugs/show_bug.cgi?id=494137 bug 494137] <br /> [[File:pdt40_php_version_badge.png]] |
=== Adopters / Extenders === | === Adopters / Extenders === |
Revision as of 10:16, 23 May 2016
PDT 4.0 is currently in development. To try out the most recent snapshot build of 4.0.0, see PDT/Nightlies article.
We fixed / closed around 70 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 use DLTK 5.5 Lucene 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
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 Assit 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
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 bug 480376 bug 480374 bug 494124
- Support for traits in PHP Project Explorer when "group by namespace" is active bug 488685
- PHP Language Library have PHP Version badge bug 494137
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
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