How to colorize HTML code in *.php files



Since several months, PhpStorm don't colorize HTML ans JS blocks into php files (see example below)

I try to disable all the downloaded plugins but it remains the same.

Do you have any idea ?

Thank you

I am using :

PhpStorm 2020.3
Build #PS-203.5981.175, built on December 2, 2020
Runtime version: 11.0.9+11-b1145.21 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 989M
Cores: 8
Registry: run.processes.with.pty=TRUE
Non-Bundled Plugins: DBN, net.seesharpsoft.intellij.plugins.csv


0 Links
Comment actions Permalink

Hi there,

1) Try latest stable 2021.1 version -- it works OK for me in 2021.1.4.

I do remember seeing some "syntax colors are missing in scratch file" ticker or forum thread quite some time ago:

2) Try disabling all custom (not bundled by default) plugins, restart IDE and see how it works -- any difference?

3) Just in case: try also disabling bundled Vue.js and Angular plugins (and restart the IDE) -- any difference?

Comment actions Permalink

I updated to PhpStorm 2021.1.4 and it now works well.

Thank you.


Please sign in to leave a comment.