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

Add distinct scope for "static" storage modifier #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexchexes
Copy link

@alexchexes alexchexes commented Sep 30, 2023

Description of the Change

  • Separate the "static" keyword from existing grouped storage modifiers.
  • Introduce a unique scope "storage.modifier.static.php" for targeted syntax highlighting.

This enhancement improves the granularity of syntax highlighting for the "static" keyword in PHP, aligning it with the differentiation of other storage modifiers.

Alternate Designs

No alternative ways exist for highlighting the "static" keyword differently in VS Code.

Possible Drawbacks

People who have used the "storage.modifier.php" scope will need to adjust their settings to match the new "storage.modifier.static.php" scope.

Applicable Issues

No

image

- Split the existing regular expression patterns to separate the "static" keyword.
- Added a unique scope "storage.modifier.static.php"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant