Answer the question
In order to leave comments, you need to log in
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
Found a solution. In the brackets.json file (you can open it by clicking Debug -> Open settings file) and add
"language.fileExtensions": {
"tpl": "php"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question