8

Just as with node.js questions, a question which is not tagged with but should use JavaScript syntax highlighting by default.

is a framework, and all Meteor code is JavaScript code.

1
  • 3
    Your initial comment seems to imply that currently questions tagged node.js do have javascript highlighting (and it seems you are using this as a support argument). However from the comments to the question you linked it seems as if this is not the case.
    – Bakuriu
    Jul 25, 2014 at 14:29

2 Answers 2

15

Please no. Those are special cases, and allowing some of them will only trigger more requests in the future (e.g. what about ? why not do the same for python's highlighting to questions? In general why don't we do this for every framework for every language out there?).

Also there are less than 6000 questions tagged while there are more than 650k questions tagged . There are a lot of questions tagged with both tags, and also a lot of questions that don't have the tag but that also don't contain code. So I don't think that there's any real problem in the first place.

Just remember to always add the when your question contains code written in it.

6
  • 21
    <!-- language: lang-js --> FTW!
    – Braiam
    Jul 25, 2014 at 14:40
  • 5
    There are some 4k questions tagged with meteor and not javascript. Of the first 50, only 3 had five tags. From 51-100 and 101-150, there were 1 each. Adding the javascript tag seems like an excellent solution if people want proper highlighting, and in the rare cases where that isn't possible the manual language markup should be enough.
    – thegrinner
    Jul 25, 2014 at 14:57
  • 6
    What if there was some way for the community to associate framework tags with their languages? It could be a system similar to tag duplicates: someone with high rep could indicate that meteor is a tag that uses javascript syntax highlighting, for example. This would allow the system to scale well without adding more work for moderators.
    – Kevin
    Jul 25, 2014 at 16:31
  • @Kevin I don't see how that would provide any real benefit. I'd rather let SO devs do something else instead of wasting time adding a feature that is pretty much useless. If a question contains code you should already tag it with the language tag, and that already solves the problem of highlighting. In the extremely rare circumstance where your question already needs 5 tags more than the language tag you can follow Braiam suggestion and highlight explicitly.
    – Bakuriu
    Jul 25, 2014 at 16:49
  • 4
    @Bakuriu: do you realize how naive "Just remember to always add the javascript when your question contains code written in it." is? It's not me, a dude who apparently wastes his time on MSO trying to make life easier for new StackExchange users, asking those questions. It's those new StackExchange users who, I guarantee you, will not think of adding the JavaScript tag to a question about Meteor. Jul 25, 2014 at 23:18
  • 1
    @Dan Dascalescu: a better usage of time is to retag questions when needed and tell new users to properly tag their question in order to have syntax highlightning. It seems obvious to me that if your question contains JS code it should be tagged as Javascript, whatever the framework you are using is.
    – nico
    Jul 26, 2014 at 17:25
1

Yes, please.

Here's a sample [meteor] question without code that would benefit from JavaScript code highlighting for its answers.

5
  • Added the missing javascript. Problem solved. Dec 4, 2015 at 10:28
  • 1
    @Deduplicator Thank you, have another: stackoverflow.com/questions/34062702/… Dec 4, 2015 at 10:36
  • So, why didn't you just fix it? Dec 4, 2015 at 11:21
  • 1
    @Deduplicator I dislike menial tasks that should be automated. Dec 4, 2015 at 12:17
  • So, dig out one of the proposals for a tag-hierarchy then. Adding syntax-highlighting to badly tagged questions this way only treats one of the symptoms of mis-tagging. Dec 4, 2015 at 13:01

You must log in to answer this question.

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