Is there anyway to have Notepad++ highlight both PHP and HTML at the same time?

前端 未结 2 1794
青春惊慌失措
青春惊慌失措 2021-01-19 17:53

I\'ve used Notepad++ for PHP editing with HTML tags echoed out. Notepad++ had always highlighted, and interacted with the HTML, CSS, Javascript, and PHP code all in the sam

2条回答
  •  走了就别回头了
    2021-01-19 18:35

    Thankfully, no.

    I ran into this 'problem' too. Then after an hour of trying to enable this 'feature' I realized: hey, at this point, I should be using templates anyway.

    After some consideration I've come to the conclusion that Notepad++ shouldn't do this, to encourage good coding practices.

    I'm only embarrassed that it took me so long to realize that it was no longer my editor's job to make my code readable, but mine.

    GLHF

提交回复
热议问题