Visual Studio Code php in html

问题内容:

How I Can enable php syntax and php autocomplete in html files in vscode? Please help me, how I can do it. Thanks.

Default vscode can’t see php in html files.

问题评论:

答案:

答案1:

There is an issue when you mix match with html, php and js. They might fix. Meanwhile, you have to look for other tools. issue –
https://github.com/Microsoft/vscode/issues/6616

There are tools to do so. Search them on google.

One of that kind is

https://marketplace.visualstudio.com/items?itemName=HvyIndustries.crane

答案评论:

1  
No. PHP intellisense I have, but he not support with html.
– Dronaxer
1 hour ago
    
There is an issue when you mix match with html, php and js. They might fix. Meanwhile, you have to look for other tools. github.com/Microsoft/vscode/issues/6616

原文地址:

https://stackoverflow.com/questions/47755050/visual-studio-code-php-in-html

添加评论

友情链接:蝴蝶教程