Skip to main content
2 of 2
added 583 characters in body
Cody Gray Mod
  • 244.2k
  • 84
  • 721
  • 763

Braiam is right: the solution here is to tag all questions with the tag, and then you'll automatically get syntax highlighting appropriate for the C++ tag.

This is just another special case of the more general rule that, when you use a version-specific tag, you should also always tag with the "main" tag.

For example, when you tag with , you also tag with . When you tag with , you also tag with . When you tag with , you also tag with . Et cetera.

Nicol Bolas already gives the real reason for this:

[T]he question needs the attention of C++ experts, since it's a question about C++. So it should have the C++ tag.

The tag system is designed to help experts find questions. It is a classificatory system. A large number of our expert answerers filter based on tag, and they don't always include version-specific tags in their filters, so they may easily miss your question if you don't use the primary tag.

We (moderators) could add syntax highlighting hints to the version-specific tags, but it is not necessary because of the ground rules for version-specific tags. Think of the lack of syntax highlighting as an incentive to tag the question correctly.

Cody Gray Mod
  • 244.2k
  • 84
  • 721
  • 763