简体   繁体   中英

Visual Studio Code, HTML tag not paired and highlighted in PHP files

is there a way to "pair" and "highlight" the HTML tags in PHP files as normally done in HTML files? (please refer to the attached image for visual explanation). Thanks mixed-html-php-content

Whenever you want you can change the language of your file with the option found below right:

在此处输入图片说明

click on label PHP and select HTML and ready!

I hope this will be helpful

Regards

您可以使用扩展HTTP片段来完成正确的安装和设置: https ://stackoverflow.com/a/45279141/8187926

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM