I just upgraded to ST4 from ST3 and am experiencing issues with autocompletion for in-HTML loops and conditionals that should appear like this:
<?php foreach ($collection as $item): ?>
<!-- HTML here -->
<?php endforeach ?>
Previously, typing either foreach or if and hitting tab would autocomplete to this. In ST4 typing if autocompletes to < iframe > and foreach does not autocomplete unless it exists elsewhere in the file and it expands as a string.
The file has a .php extension and the language is set to PHP. I disabled several packages to check for conflict although I am using the same set of packages that I used in ST3 and I never had these issues there. It seems like ST4 is treating a PHP file with HTML in it as an HTML document.
Defs slowing me down a lot, any insights?