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
This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"
This bug exists for C
This bug exists for C++
This bug exists for Objective-C
This bug exists for Objective-C++
The code with a problem is:
template <classT> structexample;
// highlighting works perfectly fine heretemplate <> structexample<unsigned> {};
// this also works perfectly finetemplate <>
structexample<int>
{};
// highlighting breaks at <>, doesn't matter if there is anything in it or not. // doesn't matter if the specialization is partial, full, CV-qualified, or anything else. template <> structexample<long>
{};
It looks like:
The scope of the <> in the broken example is unexpected. The scope of the < is:
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
It looks like:
The scope of the
<>
in the broken example is unexpected. The scope of the<
is:When I would expect it to be:
The scope of the
>
gets even more unexpected:Originally from @evanacox in microsoft/vscode#109098
The text was updated successfully, but these errors were encountered: