Open
Description
Checklist
- This problem exists even with the setting
"C_Cpp.enhancedColorization": "Disabled"
If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
void func(int& a) {
int x = 0;
int* y = &x;
}
It looks like:
It should look like:
The ampersand in &x
should be orange, the same color as the one in int& a
, because it is the address of operator, but instead it is categorized as the bitwise and operator, and therefore it is colored light yellow, which is the color I use for bitwise operators.
Metadata
Metadata
Assignees
Labels
No labels