0

working on a PHP project, but the HTML in my PHP is not highlighting.

I'm not sure why, but html by itself will.

When I installed beautify, per another posts recommendation, my user settings did not update. So I went to the github repo to add the configuration for beautify manually.

Here is the code snippet I added and updated in my user settings.

"beautify.language": {
  "js": {
    "type": ["javascript", "json"],
    "filename": [".jshintrc", ".jsbeautifyrc"]
    //  "ext": ["js", "json"]
    // ^^ to set extensions to be beautified using the javascript beautifier
  },
  "css": ["css", "scss"],
  "html": ["htm", "html", "php", "blade"]
  // ^^ providing just an array sets the VS Code file type
}

But it's still not setting html styles within php. any advice?

thinker
  • 101

0 Answers0