Regardless of whether you (the reader, not specifically IInspectable) think c++-winrt questions should include or omit c++ (a discussion that was had once again recently, a few years after this was originally posted), I think in general it's worth removing the dependency on the language tag in order for code samples to highlight correctly. I just experimented with it and looked at questions that may have other tags such as xaml and winrt-xaml, and many of them seem to continue to highlight their respective languages just fine. So this is done.
I did come across one particularly code-heavy question which, even after the change, highlight.js seems to think contains a mix of C++, C#, XAML, Rust, Dart, and uh... PHP (?), hence necessitating explicit hints anyway. But I'm sure that's just one of the many edge cases and spectacular failures of highlight.js's language detection heuristics which seem to be overall worse than Prettify's heuristics, and it has nothing to do with the change.
[c++] or [c++-winrt]
). It's not the common case for users that don't know C++/WinRT to want to see questions about C++/WinRT. Regardless, if we get automatic C++ syntax highlighting for C++/CX (which isn't even C++), there is no reason to not get automatic C++ syntax highlighting for C++/WinRT (which indeed is C++).[c++*]
, @m69