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 the rest of the line after the cast to enum var** the colorization does not work, this is the same if you use struct as the keyword instead of var. I think it has to do with expecting C++ style structure casting vs. C, although c++ can use both.
Here's a screenshot showing my example and its highlighting.
The text was updated successfully, but these errors were encountered:
chuggafan
changed the title
Code highlighting fails if casting return to a certain syntax of pointer
Code highlighting fails if casting to a certain syntax of pointer
Jun 7, 2019
Currently, colorization is provided by VS Code. It uses TextMate grammar to colorize. You might get improved results with this extension.
We are actually in the process of implementing colorization based on IntelliSense, which we hope to include in the next release of the C/C++ extension.
Temp fix was created just now on v1.11.7 of the extension. There's likely a similar case with enums that will probably get fixed sometime this weekend.
Type: LanguageService
Describe the bug
Color highlighting fails for the rest of the line if you cast like this:
For the rest of the line after the cast to enum var** the colorization does not work, this is the same if you use struct as the keyword instead of var. I think it has to do with expecting C++ style structure casting vs. C, although c++ can use both.
Here's a screenshot showing my example and its highlighting.
The text was updated successfully, but these errors were encountered: