F
F
f3dorov2015-02-18 10:24:18
PHP
f3dorov, 2015-02-18 10:24:18

Switching HTML to PHP syntax in Sublime Text 3?

When trying to switch HTML syntax to PHP (and vice versa from PHP to HTML) in Sublime Text 3, neither in the menu nor in the lower right corner does it change. How to get around this problem?
Video demo: cl.ly/Zqms

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex stephen, 2015-02-18
@berezuev

The fact is that the html and php markup parameters in ST3 are in the same file (html), and set syntax php refers to it.
This is normal behavior, because the backlight works the same there.

M
maxtrelle, 2015-02-18
@maxtrelle

ApplySyntax - determines the syntax in the current file on the fly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question