Black Friday sale is now on! 50% off Laravel: The Modular Way. Learn more

Use TPL syntax highlighting in Atom with Nova Framework

David Carr

Nova Framework Tools

    Using Atom editor is great visually the only issue is out the box .tpl is not recognized or is recognized as Smarty tpl. Thankfully the solution to this is simple.

    Since the template engine on Nova is based on Blade install language-blade package. Once installed Atom needs to associate tpl with blade. To do this go to your settings and click Open Config Folder next click on config.cson look for Core: and add:

    customFileTypes:
          "text.html.php.blade": [
            "tpl"
          ]

    Restart Atom. Now every .tpl file will have syntax highlighting.

    Laravel Modules Book by David Carr

    Help support the blog so that I can continue creating new content!

    Subscribe to my newsletter

    Subscribe and get my books and product announcements.

    © 2009 - 2022 DC Blog. All code MIT license. All rights reserved.