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. Activate PHPStorm 2017.1 locally (without internet access): Load the file LocalServer. WI-40358 Blade: inside block throws “Directive is not closed”.To avoid misspellings, we recommend that you copy both the user name and license key from the license certificate e-mail rather than enter them manually in the software. WI-25667 Blade: formatting blocks are not aligning if there is a HTML comment after a closing tag A license key can be rejected by the software for one of the following reasons: Misspelled user name and/or license key.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.WI-64460 Blade: missing completion for methods inside tags if there is php block ().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: This shows inaccessible classes and members as well as static fields and methods. ![]() If necessary, press for the second time (or press ). If automatic completion is disabled, press or choose Code Code Completion Basic from the main menu. Previously, PhpStorm treated every code block in Blade templates as an independent scope. By default, PhpStorm displays the code completion popup automatically as you type.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |