Currently seeking new career opportunities in web development, particularly with Laravel, Hire Me

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 Your Logo Your Logo Your Logo

Become a sponsor

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

Sponsor

My Latest Book

Modular Laravel Book - Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Subscribe to my newsletter

Subscribe and get my books and product announcements.

Learn Laravel with Laracasts

Faster Laravel Hosting

© 2006 - 2024 DC Blog. All code MIT license. All rights reserved.