Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-503

Please support blade template engine for laravel

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Atm, NetBeans does not support laravel out of the box, therefore, NetBeans does not support the blade template engine. Blade templates are set to foo.blade.php.

      So therefore, we need a new filetype which has the extension .blade.php and it should support: PHP, Blade Templates, HTML (Don't know whether jade is needed too or not), CSS, JS. See the screenshot from PHPStorm, they already supports Blade.

      Yes it should be possible to have PHP inside too. This is an official statement from the developers:

      Blade is the simple, yet powerful templating engine provided with Laravel. Unlike other popular PHP templating engines, Blade does not restrict you from using plain PHP code in your views. In fact, all Blade views are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application. Blade view files use the .blade.php file extension and are typically stored in the resources/views directory.

      The folder is not relevant, it should be possible in every folder. So Syntax highlighting, code completion for each type of the language should be possible in that filetype, like in a normal HTML file.

      Cheers

      Chris

      Attachments

        1. code_completion.png
          22 kB
          Haidu Bogdan
        2. blade-phpstorm.png
          35 kB
          Christian Lenz
        3. blade_navigator.png
          15 kB
          Haidu Bogdan

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            haidubogdan Haidu Bogdan
            chrizzly Christian Lenz

            Dates

              Created:
              Updated:

              Slack

                Issue deployment