-
Notifications
You must be signed in to change notification settings - Fork 573
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
[1.0] Coloring for various visibility levels #1241
Comments
@dmitry-vovk did I miss anything in the example? |
updated example w/ all listed use-cases. |
How about adding function argument(s) coloring? |
Maybe those should be considered as local variables? Since they are defined in the local scope of the function. Different colors for pointers vs non-pointers would be better I think, no? |
I've added variable redefined in if statements example, which can be a good case of headaches. |
BTW, it's a good ticket for a PR, so any help is welcome and feel free to ask me about some internal stuff. |
I've looked over e47bebd#diff-c0610615a0aedbe9e98e368d6ace7869R60 and abfba5f and indeed it seems pretty straight forward to do it, I'll see if I can manage the time to get this done (if not one else does it before me) |
@dlsniper Having function arguments colored differently is as helpful as having global and local. I rely on that in JavaScript and PHP code. It really helps. See screenshot for PHP sample: |
Relates to #1257 |
Hi,
Based on the discussion from #1211, I've created this ticket so we can keep track of the various coloring progress:
As a code sample, we could use this:
The text was updated successfully, but these errors were encountered: