PHP Tools for Visual Studio Releases

Released: May 22, 2024

Updates in v1.80.19712


  • Code Analysis and IntelliSense
    • Now respects /** @ignore $variablename */ so that if the $variablename is unused, the problem is not reported.
    • Supports more complex conditional return type, i.e. @return ($name is class-string ? T : bool).
    • Improved inline suggestion after namespace.
    • Added a diagnostic for possibly wrong foreach variables.
    • Override diagnostic now respects possible class_alias of the type hints.
    • Override diagnostic now underlines trait use, it the trait introduces an...

Released: Mar 3, 2024

Updates in v1.79.19431


  • AI Snippets - This update introduces smart snippets. Based on your code, the editor generates inline suggestions with placeholders.
  • Refactorings
    • Concatenation to String interpolation refactoring.
    • Smart if-else to switch refactorings.
  • Unnecessary Parentheses - Parentheses that can be safely removed are dimmed in the code now, and a corresponding code fix "Remove unnecessary parentheses" is available.
  • Formatting - Introduced the wrapping formatting option Compact empty body into...

Released: Jan 14, 2024

Updates in v1.78.19088


  • 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

Updates in v1.76.18866


  • 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

Updates in 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...

Released: Jul 7, 2023

Updates in v1.74.18199


  • 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

Updates in v1.73.17725


  • 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

Updates in v1.72.17474


  • 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

Updates in v1.71.17057


  • 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

Updates in v1.70.16698


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