When I open a website instead of a Project/solution in VS2019 community, I can't get the PHP editor to highlight and recognize code in php short tags<?. I don't want recommendations to use the full tag. I just want to know how to get it to recognize the short tag when I go to open a website directly. I can get it to work if I use a project. I am familiar with the .phpproj files. But placing:
<LanguageFeatures>ShortOpenTags</LanguageFeatures>
in any of the files in directories "ConsoleProject","FromExistingCode","FromRemote" or "WebProject" does not seem to fix it. The documentation says short tags are disabled for 7.0 and above by default, so is there a way to change the default behavior? It appears that because when you open a website in VS directly it is not opening a project, it does not look at any .phpproj files for setting.