Lançamentos do PHP Tools for Visual Studio

Released: Jan 14, 2024

Atualizações na v1.78.19088

Recursos

  • IntelliPHP in Microsoft Visual Studio 2019
    • Added local AI suggestions to Microsoft Visual Studio 2019.
  • Refactorings
    • Added support for refactoring of private properties.
    • Added support for refactoring of property names specified inside property_exists() function.
    • Added new quick refactorings.
  • Completion for $GLOBALS and $_SERVER
    • Array keys for variables, and super-global variables are now listed in code completion.
  • Custom Formatting and Code Styles
    • Added Global options (Tools/Options...

Released: Dec 3, 2023

Atualizações na v1.76.18866

Recursos

  • New PHP 8.3 syntax is now supported by the formatter.
  • Structured object Type: Dynamic objects can now be annotated within doc comment using object{property:type,} syntax.
  • Global @type Aliases: type aliases can be defined in the scope of entire file using doc comment @type, @phpstan-type, @phpstan-import-type, @psalm-type and @psalm-import-type. Previously, it only worked above classes and functions. Now it is also valid in a doc comments anywhere in the global file scope.
  • Improved...

Released: Sep 20, 2023

Atualizações na v1.75.18601

Recursos

  • 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...

Released: Jul 7, 2023

Atualizações na v1.74.18199

Recursos

  • IntelliPHP
    • Introducing AI-powered inline code predictions to enhance productivity for PHP. IntelliPHP leverages machine learning to provide intelligent code predictions. As you type, the extension suggests relevant code completions and shows them as gray text in your editor. This feature helps you write code faster and reduces the time spent on manual typing.
      • The code predictions work completely offline, and do not send or receive any data to Internet.
      • The feature is only available to...

Released: Apr 20, 2023

Atualizações na v1.73.17725

Recursos

  • Profiler Tool
    • A simple and efficient way of profiling your PHP projects has been added. The new Profiler Tool Window allows you to quickly start profiling, inspect requests and inspect profiling data.
  • Code Formatter and Code Styles
    • Now includes a completely revamped code formatter that offers greater flexibility and customization options, including the ability to set formatting options from predefined code styles.
  • Refactorings
    • The existing code actions have been improved, simplifying...

Released: Mar 4, 2023

Atualizações na v1.72.17474

Recursos

  • Inlay Hints
    • Sometimes it is not clear what function arguments are used for. Inlay hints have been added that annotate function parameters, inferred function return type, by-ref semantics to arguments and expression types.
  • Short Open Tags Option
    • You can now force the PHP Editor to treat short open tags differently.
  • Code Actions
    • Several quick refactorings have been added.
    • Assignments can now be simplified with ??=, +=, *=, etc.
    • You can now transform expressions to the new nullable object...

Released: Jan 8, 2023

Atualizações na v1.71.17057

Recursos

  • Better PHP 8.2 and PHP 8.1 Support:
    • Added enum, BackedEnum and UnitEnum implicit interfaces.
    • Updated integrated manual with the latest symbols and translations.
    • Added support for new 'Random' extension.
    • Added support for new PHP 8.2 core types.
  • IntelliSense and Enums - The PHP 8.1 enum objects now implicitly implement UnitEnum and BackedEnum interfaces. The BackedEnum<TValue> interface is now annotated with a template type argument, so it can be used in Doc Comments for better...

Released: Nov 10, 2022

Atualizações na v1.70.16698

Recursos

  • Editor:
    • Highlighting Scoped Keywords - Added the ability to highlight scoped keywords such as 'while', 'do', 'for' and 'switch' with the corresponding break and continue.
    • IntelliSense - Updated integrated language manual with more type information. This results in more precise IntellISense, type analysis and code diagnostics. The editor now supports false pseudo-type as a part of PHP union types.
    • Inline Completion - Improved inline completions. When typing function getSometing, the rest...

Released: Jan 31, 2022

Atualizações na v1.6x

v1.69.16464

Updated Oct 13, 2022

Features

  • Interface and Enum Colors - The PHP Editor now respects Microsoft Visual Studio colors for Interface and Enum.
  • New Diagnostics - Added and updated several code diagnostics:
    • Added new PHP 8.2 compatibility diagnostics.
    • There is now a diagnostic for the invalid use of break; or continue when they are out of the allowed scope.
    • Diagnostic of function return has been improved in cases where there is a mixed type hint, but the function does not return anything...

Released: Jan 8, 2021

Atualizações na v1.5x

v1.59.15076

Updated Dec 9, 2021

Features

  • The stable release of PHP 8.1 is now included which is installed upon setting in Project Properties.
  • PHP 8.2 development version has been added.
  • Displaying x86/x64 flag in IIS server in Project Properties.
  • Improves performance of outputting text to Microsoft Visual Studio output panes.
  • When installing IISExpress automatically, IISExpress 10 is installed now instead of IISExpress 8.
  • .vs\phptasks.json file created for Project Events can be moved to the root...