I'm using NOTPAD++ and I wonder how I can highlight codes in tpl files.
I googled online and there are answers but none of them works. For intance, http://sourceforge.net/p/notepad-plus/discussion/331753/thread/3067a53d/
Any ideas?
Or any other better programmes than NOTEPAD++ for highlighting codes in tpl files?
You can open TPL files with Microsoft Visual Studio Code in Windows, macOS, or Linux. Then, you can install the free "Smarty" extension to add support for syntax highlighting and snippets in the Smarty 3 templating language.
TPL is a template file which is a common text file that contains user-defined variables that are entitled to be overridden by user-defined output content when a PHP web application parses the template file. These are used by web applications with server script PHP(but not restricted to) as a template file.
I found these instructions and worked for me.
http://was955.wordpress.com/2013/03/06/how-to-add-a-tpl-files-to-notepad-as-a-php-file/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With