title: Is there a way to make Visual Studio Code recognize HTML syntax in PHP files
body: <p>I am using Visual Studio Code on a Mac to work on WordPress applications.</p>
  
  <p>Is there a way to make Visual Studio Code recognize HTML and use it's features (mainly autocompletion) inside PHP files?</p>
  
  <p>I've searched for this answer before but just get told to Go to Visual Studio Code Settings: <code>File &gt;&gt; Preferences &gt;&gt; User Settings</code></p>
  
  <pre><code>// Place your settings in this file to overwrite the default settings
  {                
  // Configure file associations to languages (e.g. "*.extension": "html"). These have precedence over the default associations of the languages installed.
       "files.associations": {"*.php": "html"}     
   }
  </code></pre>
  
  <p><strong>But doing this makes you lose all PHP support and autocompletion.</strong></p>
  
  <p>I wish Microsoft would realize that PHP developers commonly use PHP and HTML together when creating applications/websites. I would love to use VS Code instead of the magnificent but expensive PHP storm if possible. </p>