PHP Tools for Visual Studio v1.89.18735
Released: Apr 7, 2026
Mises à jour de v1.89.18735
Fonctionnalités
- Smarter Code Completion:
- Added Starred Suggestions:
- The editor now highlights the most likely completion candidates with a star icon and automatically prioritizes them at the top of the list.
- Find the right symbol faster with less typing.
- Smarter IntelliSense based on context and probability.
- Deeper Code Intelligence & Accuracy:
- Improves how the editor understands your code - especially in complex and modern PHP patterns:
- Better handling of closures, lambdas, and indirect function calls.
- Improved generic templates, even in nested contexts.
- Smarter attribute-aware completion (only valid attribute classes suggested).
- More precise PHPDoc interpretation, including optional parameters.
- Detection of subtle issues like argument conflicts with spread operators.
- Fewer false positives.
- Earlier detection of real issues.
- Better suggestions in advanced codebases.
- More Powerful Code Actions & Fixes:
- Introduced new and improved code actions that help you write cleaner, more modern PHP with less effort.
- Add missing parameter type hints instantly.
- Automatically simplify spread operators.
- Modernize code with transformations like
clone -> clone with.
- Improved fixes for tricky override and signature issues.
- Reduce boilerplate and manual edits.
- Keep your codebase clean and consistent.
- Refactor faster with confidence.
- Smarter Navigation:
- Navigation and symbol resolution have been enhanced in places where most tools struggle - like string-based references:
- The editor now correctly resolves "show" as a method name and navigates to it upon Ctrl+Click.
- Navigate seamlessly across dynamic patterns.
- Better support for reflection-heavy and framework-driven code.
- Faster understanding of unfamiliar codebases.
- New Auto-Import Option:
- In Visual Studio
Options - Text Editor - PHP- IntelliSense, pick Auto-import "use" with grouping.
- Improved Validation for Dynamic Code:
- Added parameter validation for closures and indirect calls, catching mistakes earlier:
- Immediate feedback on incorrect arguments.
- Better reliability in dynamic and functional patterns.
- More confidence when working with advanced constructs.
- Laravel & Ecosystem Enhancements:
- Smarter IntelliSense for controllers, Livewire, and storage APIs.
- Better type inference in testing (Pest, Laravel helpers).
- More accurate framework-specific completions and navigation.
- Framework-aware coding experience.
- Higher productivity in real-world projects.
- A More Resilient Editing Experience:
- The editor can now continue providing IntelliSense and analysis even when your code is incomplete or temporarily broken:
- Fewer interruptions while typing.
- Better support during refactoring or drafting.
- IntelliSense that doesn’t “give up” on invalid code.
- Polished, Consistent, and Reliable Improvements:
- More consistent diagnostics aligned with real-world tooling.
- Cleaner formatting behavior across edge cases.
- Numerous fixes in Laravel, Blade, traits, lambdas, and more.
- Improved handling of modern PHP features like PHP 8.5 additions.