M
M
Michael2014-12-15 06:11:22
IntelliJ IDEA
Michael, 2014-12-15 06:11:22

How to make jetbrains idea highlight php and html code in *.html?

There are 2 types of files in one project, one is pure html code and the other is html with php inserts, both types have *.html extension
Question: How to make jetbrains idea highlight php and html code in *.html?
Or an option how you can quickly change the file type from HTML to PHP and vice versa.

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Wolf, 2014-12-15
@DyadyaMisha

In the settings, set PHP highlighting instead of HTML for .html files

M
Michael, 2015-04-03
@DyadyaMisha

Addition to the answer, after reinstalling the PHP plugin everything worked:fbaa16eb82bf4531bb5d2c8102b4104f.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question