Just like Blade, we have also been improving our Twig support. We plan to continue improving our Blade template engine support. You can see the full list of fixed issues in our issue tracker. WI-40358 Blade: inside block throws “Directive is not closed”.WI-25667 Blade: formatting blocks are not aligning if there is a HTML comment after a closing tag.WI-28285 Blade doesn’t indent nested statements when formatting.WI-31196 Blade: wrong formatting with HTML comments.WI-64463 Blade: two consecutive fragments are merged together and produce “expected: expression” warning.This validation is equal to running the psalm -version command. WI-64460 Blade: missing completion for methods inside tags if there is php block () To check that the specified path to psalm.bat or psalm ensures interaction between PhpStorm and Psalm, that is, the tool can be launched from PhpStorm and PhpStorm will receive problem reports from it, click the Validate button.By default, tool windows are attached to the bottom and sides of the main window. WI-37741 AutoCompletion of PHP Variables in Blade Tool windows provide access to development tasks: viewing your project structure, running and debugging your application, integration with version control systems and other external tools, code analysis, search, navigation, and so on.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 Learn more about PhpStorm pricing plans including starting price, free versions and trials. 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. Better psalm and generic annotation support.Improved support for autocompletion in Blade templates. ![]() 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |