Provide a different scope for throw
when used as a function exception specifier
#625
Open
1 task done
throw
when used as a function exception specifier
#625
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
It looks like:
(akbyrd.akbyrd-vsc-theme)
It should look like:
The issue is that
throw
is classified askeyword.control.throw
when it is used as a function exception specifier. In this case it's not a control keyword and should be able to be highlighted in a different way compared tothrow
expression. To be consistent withnoexcept
I would guesskeyword.operator.functionlike
,keyword.operator.throw
are reasonable scopes.The desired behavior is similar to how
default
is eitherkeyword.other.constructor
orkeyword.control.default.cpp
based on the context in which it's used.microsoft/vscode-cpptools#10544
The text was updated successfully, but these errors were encountered: