You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a class or struct name, guarantee consistency in the whole file.
My vscode define a struct such as in a .cpp file:
I hope the node and MAX can have the same color in the main function.
Can I have some ways to solve this?
The text was updated successfully, but these errors were encountered:
Sadly, this is well beyond the capabilities of TextMate grammars :( I very much wish there was a way to do this.
The issue is there are no variables/memory inside the parser. It can only look at what is immediately nearby it, and then use that as a hint as to what the thing is. Often times it can only see one line at a time.
Something that I would like to talk to VS Code about is implementing a fully-supported C++ parser like the one used in Xcode. It would be capable of those kinds of colorings.
I'm going to close this issue, but feel free to continue the conversation.
For a class or struct name, guarantee consistency in the whole file.

My vscode define a struct such as in a .cpp file:
I hope the node and MAX can have the same color in the main function.
Can I have some ways to solve this?
The text was updated successfully, but these errors were encountered: