PHP Tools for Visual Studio v1.75.18601

Released: Sep 20, 2023

v1.75.18601 での更新項目

機能

  • Added support for PHP 8.3 syntax features including:
    • Typed class constants.
    • Anonymous read-only classes.
    • Dynamic class constant fetch.
  • Added native support for the scalar_objects extension. The editor now recognizes 'register_primitive_type_handler()' calls, and allows completion for specified scalar types.
  • The editor now completes and navigates to files.
  • When typing a new class, the class name is now suggested based on the file name. The suggestion takes advantage of the Microsoft Visual Studio Code's inline completion UI, so it's non disruptive; accepted with 'TAB' key.
  • The editor now caches composer.lock and the corresponding vendor folder. This significantly improves opening solutions based on Composer packages, and drops the RAM usage to the bare minimum.
  • Attributes above classes will now have inlay hints with parameter names if enabled.

不具合の修正

  • Fixed use statements sorting.
  • Fixed go-to-def of a method defined in a trait.
  • Fixed @psalm-import-type phpdoc tag support.
  • Fixed inlay hints when there is a new without parameters.
  • Fixed rename refactoring of static methods.
  • Avoided showing keyword tooltip if it's not a keyword.
  • Avoided showing duplicit items in peek window.
  • More fixes of code diagnostics and IntelliSense.
  • Stability fixes.