Came across a post recently where it was vb.net
heavy but the sql-server
tag was relevant because the problem could have been solved in either the DB or the front end
All the vb.net code (there was only vb.net code) in the post was being highlighted using sql-server
implied syntax
If I removed the sql-server
tag, the post highlighted with VB. If I added the sql-server tag back, I was hoping that maybe it would "add the tag at the end of the tag list" and "the syntax highligher works from left to right when looking for a tag to pull highlight settings from"
This latter part may be true, but adding the sql-server
tag back put it in its original place (the full tag set was .net
sql-server
vb.net
gridview
so they don't seem to be in e.g. alphabetical order) and the post went back to highlighting the VB with SQLS syntax
Can anyone tell me what the logic is for choosing when a post contains multiple tags with a highlight?
Is there a way we can edit the tag order to make the site pick a different one to highlight on, rather than editing the post and manually editing every code block to have a forced tag/lang command, and also highlight all the answers the same?