Lanzamientos de PHP Tools for Visual Studio
Released: Sep 23, 2024
Actualizaciones en v1.82.20082
Características
- Formatter Blank Lines Settings - The PHP code formatter has a whole new group of settings called
Blank Lines
for adjusting the blank lines between various kinds of code sections. You can adjust spaces above declarations, class bodies, comments, functions and more.
- Added more checks for parameters passed by-ref.
- Magic constants (
__METHOD__
, __PROPERTY__
, etc.) are checked if they are used in a correct context.
- Type inferring improvements,
@global
tag inherited from base if...
Released: Jul 31, 2024
Actualizaciones en v1.81.19965
Características
- PHP 8.4 Support (Preview) - This update adds support for the new PHP 8.4 features, including:
- Property hooks, and
__PROPERTY__
magic constant.
New
without parentheses.
- Formatting for properties and property hooks.
- Added initial support for
@phpstan-assert
, @phpstan-assert-if-true
, and @phpstan-assert-if-false
.
- PhpUnit tests are now discovered in nested directories, and respects prefix configuration.
- Now recognizes unsealed array shape type.
- Improved initial indexing...
Released: May 22, 2024
Actualizaciones en v1.80.19712
Características
- 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...
Released: Mar 3, 2024
Actualizaciones en v1.79.19431
Características
- 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
Actualizaciones en v1.78.19088
Características
- 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...
Released: Dec 3, 2023
Actualizaciones en v1.76.18866
Características
- 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...
Released: Sep 20, 2023
Actualizaciones en v1.75.18601
Características
- 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...
Released: Jul 7, 2023
Actualizaciones en v1.74.18199
Características
- 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...
Released: Apr 20, 2023
Actualizaciones en v1.73.17725
Características
- 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...
Released: Mar 4, 2023
Actualizaciones en v1.72.17474
Características
- 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...