Open arasanoutdoinc opened 1 year ago
It's always helpful to include your sample code as text as well as the screenshot, so testers can copy it without retyping.
PHP tags are embed
ded in CSS/JavaScript to keep syntax size and complexity in sane limits.
PHP Source.sublime-syntax is mainly designed to switch between html<->php.
Not sure what a solution would look like without risk of hitting 25k context sanity limit and keep already significant complexity in sane limits.
It's hard to mix 2 context sensitive syntaxes such as PHP and JavaScript without bloating resource usage and complexity.
Not sure whether its worth for such a tiny edge case. There are likely more when using PHP within JS/CSS. Those are designed to take simple php expressions only.
What happened?
After applying the patch from this GitHub repository: https://github.com/jfcherng-sublime/ST-my-settings/blob/master/scripts/update_official_packages.sh, the overall functionality seems to be working fine.
However, there is an issue with the PHP block comment inside the script tag, which is not functioning correctly.
followed by #3811