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

DocBlock Issue #98

Open
ahmadawais opened this issue Mar 4, 2016 · 4 comments
Open

DocBlock Issue #98

ahmadawais opened this issue Mar 4, 2016 · 4 comments

Comments

@ahmadawais
Copy link
Contributor

I think this is a DocBlock issue that the

@access private

Where private gets a color other than the comment color?

@wesbos
Copy link
Owner

wesbos commented Mar 4, 2016

Is there a scope for this? Does it work on other themes?

The theme shouldn't have to cater to every-single use case, its the syntax highlighter that does this.

@ahmadawais
Copy link
Contributor Author

@wesbos Yes there is a scope and this is part of the standard documentation practices for WordPress.

The core code is full of it. It is very disturbing with the wrong color.
See fo yourself

Here's the scope

Scope:                         embedding.php
                               text.html.basic
                               meta.embedded.block.php
                               source.php
                               comment.block.documentation.phpdoc.php
                               storage.modifier.php
------

Guide me, I can create a pull request.

@ahmadawais
Copy link
Contributor Author

Any luck?

@ahmadawais
Copy link
Contributor Author

@wesbos Here's another example

You can test the code at your end. https://gist.github.com/f8c0ca40009294316cbd

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

No branches or pull requests

2 participants