Based on this Q&A regarding tag language association, specifically this related comment by moderator ChrisF (to this related thread), I post this minor tag modification request as a feature request here on the meta.
Feature request: add Code Language (used for syntax highlighting): 'default' to swift2.2 and swift3 tags (currently 'none')
The tags swift2.2 and swift3 have no associated Code Language (used for syntax highlighting), which means that these tags will be associated with 'none' as their language code. Consequently, questions tagged with only these tags (or, with these and other 'none' language code tags) will not be syntax highlighted.
Generally OP:s tend to tag questions with more than a single tag, in so most likely including an additional tag that contains 'default'† as associated Code Language, so for most swift2.2 and swift3 Q&A:s this is not an issue. In cases where these are single tags, however, code included in questions/answers end up without syntax highlighting. E.g., to pick a few
- How to use #selector(myMethodName) in a protocol extension?
- Algorithm: check for duplication in Swift array
- No access to my variable outside do-catch block in Swift 2.2
- swift 3: How to extend [UInt8] to add getUInt32BE function (manually set the language association manually in the Q&A code blocks)
Feature pros
Adding an associated code language (default) for these tags will allow syntax highlighting for questions single-tagged by these (as compared to no syntax highlighting at all).
Feature cons
As the alternative is no syntax highlighting, I see no cons in this request, other than the work needed by the administration to include this addition to these tags. I might add that the swift2.2 tag is possibly a somewhat temporary tag, whereas we can expect swift3 to persist and be active just as the swift2 tag is/has been.
†It seems as if setting default code language association is sufficient to produce satisfying syntax highlighting for Swift, see e.g. this single-tagged swift thread.