-
Notifications
You must be signed in to change notification settings - Fork 13
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 highlighting for more keywords #3
Comments
@mysteryDate could you show me examples for the other highlighting and how you want it done? |
C-like languages usually have special highlighting for strings: ...and for inline functions, as well as function calls: The above are just a unity shader with C++ syntax selected. Here's an example of what CG highlighting does, as it knows all possible variable types (of which there are not that many, obviously there's half, fixed, half4, etc.): ..and finally highlighting for CG built in functions: I should definitely pull the source and put some work into this myself. I'm just at work at the moment. |
String highlighting is already working with the newest version. Looking at the other stuff atm. |
Also additional Unity specific variables
The text was updated successfully, but these errors were encountered: