WI-37741 AutoCompletion of PHP Variables in Blade.Many other issues with code completion and formatting in Blade templates were resolved as well, including:
You can now also import namespaces in your blade files, instead of always having to use FQCNs: As the result, you’ll get much better code completion in your Blade files: Namespace imports with autocompletion In PhpStorm 2022.1, we’ve significantly reworked how the IDE handles Blade templates. It caused many issues, such as losing code completion: Previously, PhpStorm treated every code block in Blade templates as an independent scope. Let’s dive in! What’s new? Frameworks and languages You can download PhpStorm 2022.1 here and read through this post to learn about all the new features and improvements inside. This new major PhpStorm release includes improved Blade and Twig support, added functionality to docblock type annotations and attributes, a bunch of new and useful inspections, several improvements to the editor, and more.