Sort Uses and Remove Unused Uses on PHP File Save (Organize Uses on Save)

PHP extension for Visual Studio Code comes with tons of code actions and code diagnostics! One of them sorts and removes unused uses:

PHP extension for Visual Studio Code comes with tons of code actions and code diagnostics! One of them sorts and removes unused uses:

PHP is an old language, powering majority of the Internet. It's evolving, it's getting new features, better performance, and old features are being depreciated and sometimes even removed.

We're releasing version 1.75 of PHP Tools for Visual Studio! This September release improves the editor experience, introduces compatibility with PHP 8.3, adds fast caching of vendor folder, adds more inline code suggestions, and improves stability and overall performance.

In the fast-evolving landscape of software development, artificial intelligence has become an indispensable tool for boosting productivity and efficiency. Microsoft's IntelliCode, GitHub Copilot, and other AI-powered solutions have already made a significant impact in the industry, offering code suggestions and completions to developers. Today, we introduce you to IntelliPHP, an innovative AI engine developed specifically for PHP developers, designed to revolutionize the way PHP code is written.
![]()
Announcing availability of PHP Tools v1.74 - for Visual Studio 2019 and Visual Studio 2022. The update introduces exciting new features!

PHP extension for Visual Studio Code is getting more features and updates!

There are exciting new updates, new features, and fixes in PHP Tools extension for Visual Studio! See what's new:

We're happy to introduce updates to our PHP extension for Visual Studio! Version 1.72 introduces Inlay Hints, new Code Actions, improved code analysis, improved support for Doc Comments with extended syntax for Psalm and PHPStan type names and keywords, and more!
We're continuously adding new and new features to both the Visual Studio Code and Visual Studio IDEs. Today we're going to summarize recently added features for PHP developers in Visual Studio Code!

When you want to edit a bulk of the text in markdown, text files, JSON or other file types, Find and Replace feature of VS or VS Code can help a lot.