UnmaintainedNote that this extension is no longer maintained nor updated for this version of Visual Studio. Color.AttributeVisual Studio extension: Color C++ Attributes. Status
DescriptionExtension adds options to overwrite colors of certain C++ Attributes. UsageNew entries will appear in
Preview
LimitationsIn order to provide fast execution, some rare syntax patterns are not supported by extension right now. There are no plans to waive those restrictions until intellisense shall classify C++ attributes. Nested
|
Attribute entry | Type | Color | RGB (0 – 255) |
---|---|---|---|
C++ Attribute | Plain | Dark White | 176, 176, 176 |
carries_dependency |
Keyword | Blue | 128, 176, 224 |
deprecated |
Important | Dark Red | 224, 96, 96 |
deprecated : Reason |
String | Dark Green | 128, 176, 96 |
fallthrough |
Flow | Dark Blue | 96, 128, 224 |
likely |
Positive | Green | 176, 224, 128 |
maybe_unused |
Positive | Green | 176, 224, 128 |
no_unique_address |
Keyword | Blue | 128, 176, 224 |
nodiscard |
Warning | Yellow | 224, 224, 128 |
noreturn |
Important | Dark Red | 224, 96, 96 |
optimize_for_synchronized |
Keyword | Blue | 128, 176, 224 |
unlikely |
Negative | Red | 224, 128, 128 |
Contract: assert |
Warning | Yellow | 224, 224, 128 |
Contract: ensures |
Positive | Green | 176, 224, 128 |
Contract: ensures : Identifier |
Plain | Dark White | 176, 176, 176 |
Contract: expects |
Param | Orange | 224, 176, 128 |
Contract: Expression | Plain | Dark White | 176, 176, 176 |
Contract: Level: audit |
Warning | Yellow | 224, 224, 128 |
Contract: Level: axiom |
Positive | Green | 176, 224, 128 |
Contract: Level: default |
Negative | Red | 224, 128, 128 |
Punctuation | Punct | Gray | 128, 128, 128 |
Punctuation: [[ & ]] |
Punct | Gray | 128, 128, 128 |
Newer versions
2019
- Branch:
2019
- Marketplace:
Color.Attribute (2019)
2022
- Branch:
2022
- Marketplace:
Color.Attribute (2022)