r/PHPhelp • u/satailx • Jun 12 '25
Solved PHP Code Editor
(PHP code editor that grays out HTML when working with PHP and vice versa)
Greetings! (And sorry if the question is misplaced)
Couple of years ago I saw a code editor that grayed out all HTML blocks when working with PHP code blocks and grayed out PHP code blocks when working with HTML. Switching happened automatically: when text cursor was put in the PHP code all HTML code was grayed out, focusing on PHP, and when cursor was put in HTML code, all PHP code was grayed out, focusing on HTML.
Unfortunately, I forgot what that editor was and cannot find it now. Can anyone advise its name?
------------------
UPD: PHPDesigner has this feature (thanks to u/LordAmras). However, if you know any other editor with this feature, please, feel free to add.
View all comments
Show parent comment
3
u/LordAmras Jun 13 '25
Searching in google requires also a bit of luck, the first couple of searches I did were "editor switching highlighting between html and php" and "editor gray out html while working php" and didn't have any good result. So I thought maybe it wasn't a feature of an editor but a plugin for one and searched for: "phpstorm plugin gray out html while working php"
And I had this link as a second result of a guy asking for the feature he liked on PHPDesigner:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010205479-Switch-Highlightning-on-HTML-and-PHP
I then spent a couple of minutes to see if an actual plugin like this existed but couldn't find something that does exactly that.