Read the latest updates for PHP Tools in Visual Studio Code. We have been working on improving the performance, fixing debugging support, and providing more editor features as well.
The latest installation package as well as the change-log can be always downloaded at devsense.com/download or from the Visual Studio marketplace.
Renaming class members, such as methods and properties, was an anticipated feature - but not enabled until now. With the new Refactoring Preview Window, we could safely provide renaming for those constructs even the editor knows the changes may break your code.
In case any of the changes are not safe, which means the type information on the instance variable could not be fully resolved, the preview window popups automatically. In addition, renaming global variables and functions is now smarter, looking into dynamic constructs.
Renaming with preview can be also opened with the menu Rename Symbol
command, and confirming with the Shift+Enter
key.
With the latest releases, we have also updated the integrated PHP manual in all major languages, describing well more of the new PHP 8 constructs.
The other improvements include:
/**
above global and local variables, a neat PHPDoc is generated, with placeholders for type hints and descriptions.