12

Syntax highlighting for Cake build scripts isn't available for questions tagged with just today.

The should default to lang-cs just as , as it's 9 times of 10 C# build scripts that the code samples in answers and questions contains.

Example of tag used on Stack Overflow

4
  • If it's C#, it should just be tagged with [c#], and that will take care of the syntax highlighting problem. Commented Sep 29, 2017 at 11:06
  • 2
    Of course it will, it'll also clutter C# tag which has led to moderators denying edits which add that tag just for syntax highlighting. Also many people just add the cakebuild tag which leads less readable questions. If you see another task runner like Gulp they've added lang-js to that. stackoverflow.com/tags/gulp/info Commented Sep 29, 2017 at 11:15
  • @CodyGray I don't think there is any harm in adding the language hint as there is none at the moment and for you it is a 10 second task. Typing this comment was more effort. Commented Sep 29, 2017 at 13:56
  • Sure, it's not a matter of difficulty, @rene, it's a matter of risking breakage when we start adding syntax highlighting hints to tags. I guess I can try it... Commented Sep 29, 2017 at 13:59

1 Answer 1

8

Done. The tag now has lang-cs set as its default syntax highlighting.

Let me know if that introduces any undesirable breakage.

1
  • Thank you very much for doing this, mich appreciated! Commented Sep 29, 2017 at 17:22

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.