What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I'm reading a question in that includes a wall of code. To be honest, most questions in that tag include a wall of code. And it looks crummy:

enter image description here

I believe the highlighting is based on the tag. So can somebody add a line somewhere that uses C++ highlighting for questions in the C++ AMP tag?

ps: I edited that particular question (it was not written in clear English) and added a language hint to the code. That's why I provided a screenshot, because that question has proper highlighting now.

share|improve this question
2  
Well, if the question contains C++ code just add C++ tag.. –  Shadow Wizard Dec 27 '12 at 14:39
6  
All C++ AMP code contains C++ code. I don't think clutttering up the C++ tag with questions about nonstandard C++ (parallel_for_each is not in the STL and neither restrict(amp) nor tile_static are C++ 11) will help anyone. –  Kate Gregory Dec 27 '12 at 14:43
1  
@ShaWizDowArd if adding tag like this would do about the same as adding java tag would do to java-me question (hint: no good) then your advice is pretty slippery –  gnat Jan 26 '13 at 21:48
    
I once suggested not to use php for Drupal questions, if the questions was about functions implemented by Drupal, and not from PHP. From the answer I got, I felt like being seen as an alien. I wonder why not using the language tag for some framework/library is understandable, but it is not for other frameworks/libraries. –  kiamlaluno Jan 26 '13 at 22:17
1  
@gnat you might be correct. I believe there is "mapping" that cause jquery tag to act as javascript as far as the prettify is concerned though I'm not sure how it's done i.e. if it's on "our" side or the native prettify code side. –  Shadow Wizard Jan 28 '13 at 9:21
    
@kiamlaluno I think sometimes language tags carry a bit of a "typically implied context" which could make a bad fit in specific cases. java is a good example: though in theory it is platform / language version agnostic, but average reader associates it with Java SE 5+ - which not coincidentally makes a perfect sense almost always, except for java-me where assuming this is a disaster. –  gnat Jan 28 '13 at 9:39

1 Answer 1

up vote 1 down vote accepted

I've turned on C++ syntax highlighting for this tag.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .