A
A
Artyom2014-07-21 16:18:56
PHP
Artyom, 2014-07-21 16:18:56

How to select syntax highlighting for tpl files in Brackets?

Tell me, please, how to make tpl syntax highlighting like in php, so that both html tags are highlighted and php syntax. By default, only html is highlighted, after installing the Smarty Syntax Highlighting plugin, php is highlighted, but html is not

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artyom, 2014-07-21
@artem328

Found a solution. In the brackets.json file (you can open it by clicking Debug -> Open settings file) and add

"language.fileExtensions": {
       "tpl": "php"
 }

Now to figure out how to change the color scheme...

S
Sergey, 2015-01-17
@DW03

DreamPHP theme for Brackets try

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question