Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php multiple line comment is not working well #3811

Closed
arasanoutdoinc opened this issue Jul 20, 2023 · 3 comments
Closed

php multiple line comment is not working well #3811

arasanoutdoinc opened this issue Jul 20, 2023 · 3 comments

Comments

@arasanoutdoinc
Copy link

arasanoutdoinc commented Jul 20, 2023

What happened?

php multiple line comment is not getting highlighted properly if there is any php tag is inside the commented code

Screenshot from 2023-07-20 17-17-17

this is working fine on sublime text 3. but subliment text 4 has this issue

@arasanoutdoinc arasanoutdoinc changed the title php multiple line comment not working well php multiple line comment is not working well Jul 20, 2023
@jfcherng
Copy link
Collaborator

duplicate and fixed

#3540

@michaelblyons michaelblyons closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2023
@arasanoutdoinc
Copy link
Author

arasanoutdoinc commented Jul 21, 2023

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.

image

@jfcherng
Copy link
Collaborator

jfcherng commented Jul 21, 2023

I can confirm your screenshot illustrates a bug. But please file another issue for it.

The

?>
*/

part should be comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants