Can I use html emmet in .php files? It works in .html files.
my settings:
{
"editor.insertSpaces": false,
"editor.tabSize": 2,
"editor.detectIndentation": false,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": true,
"php.validate.executablePath": "C:/xampp/php/php.exe",
"emmet.includeLanguages": {
"php": "html"
},
"emmet.showExpandedAbbreviation": "always",
}
These are the settings that fixed my problem
"emmet.includeLanguages": {
"php": "html"
},
"emmet.showExpandedAbbreviation": "always",
"html-css-class-completion.enableEmmetSupport": true,
"emmet.syntaxProfiles": {
"php": "html"
},
I actually think you just need to enable tab completion to your settings.json
"emmet.triggerExpansionOnTab": true,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With