On this post Use GridLayout to make a smart layout that responds to the window being resized? someone had to add the hidden language specifiers to flag the code snippets as Java.


  1. Vaadin code is always Java code (almost always*).
  2. I've read that StackOverflow.com has a goal of having the language of code snippets be automatically detected.

Can someone add a language-hint to the tag pointing to Java?

(*) 'Almost always' means rarely the code snippet might be CSS or even less likely JavaScript. Those are exceptions, as the main point of Vaadin is to write apps in pure Java without knowing CSS, JavaScript, DOM, etc.

  • This is the right place to ask; moderators can add the hint to tags. Sep 1, 2013 at 23:08
  • @MartijnPieters Does that mean my work here is done? Need I take any more steps? Sep 1, 2013 at 23:09
  • Your work is done; you requested the change in the correct place; people may express opinions about the request (including voting; voting on Meta signifies approval or disapproval of a proposal), and give feedback to which you could respond. Sep 1, 2013 at 23:11

1 Answer 1


I set the syntax highlighting to "default" which basically means that it will be inferred from the code.

Let me know if that's not enough and should have a more explicit syntax highlighting setting.

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