R
R
Rad1calDreamer2014-09-26 10:24:41
PHP
Rad1calDreamer, 2014-09-26 10:24:41

How to format PHP+HTML code in Sublime Text 3?

I have tried a lot of options, but I can not find the optimal solution.
Separate JS/HTML/PHP formatting - please. Everything is fine. But if you have HTML inserts in the conditional template.php, you get garbage.
This is pretty well implemented in Netbeans and Phpshtorm.
Community, please. This is the last feature I need for a perfect editor.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis, 2014-09-26
@cjbars

php CodeFormatter

R
Rrooom, 2014-09-26
@Rrooom

You don't need it.

A
Alexey, 2014-09-29
@rdifb0

You want too much from the editor.
Netbeans and Phpstorm are able because they are IDE and can analyze the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question