M
M
Moe Green2015-01-09 20:12:01
PHP
Moe Green, 2015-01-09 20:12:01

Sublime Text - php syntax highlight not working?

Quite a small question.
But for me, as a Wordpress newbie, forgivable. So, I'm converting index.html to index.php by inserting Wordpress template tags.
And I see this picture:
take.ms/EWnm9
take.ms/DmmoA
From which I get the impression that the syntax highlighting of Wordpress template tags (and this is the same thing - just PHP, am I right?) in my Sublime Text 3 does not work. And very sorry! The php package is in my ST3, it seems that syntax highlighting should work.
Tell me - how to fix it? Or is it in my head that I need to fix something? ))

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry, 2015-01-09
@mQm

Wordpress has shit code, everything is in a heap, so SublimeText will not highlight this, if you need it + transitions, use the IDE.

L
L0k1, 2015-01-09
@L0k1

And why suddenly st should highlight wp functions?
Install some wordpress package like

L
Lorem Ipsum, 2015-01-09
@nobodynoone

You have PHP highlighting just the same, but it just shouldn’t highlight the WP functions.

E
Eugene, 2015-01-09
@Nc_Soft

Put phpStorm, it will highlight everything as it should.
Sublime is shit with nuts, oh sorry, editor with plugins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question