8

Currently if a question is tagged only with one of the tags, any code blocks in the question don't get syntax highlighting. Given that WiX is XML based, I think it would be helpful for the tag to trigger XML syntax highlighting.

1
  • 3
    As I am elbow deep in wix right now (and frequently trolling the answers in these tags), I've turned it on. Also, ugh.
    – user1228
    Commented May 15, 2013 at 15:44

1 Answer 1

1

You can force a specific set of language highlighting manually (doesn't go into the issue of WiX not being flagged as XML highlighting by default).

You should be able to set in the block the XML language <!-- language: lang-xml --> to force the highlights. If you look at your specific example, the first couple of lines of your post would be:

<Component Id='XYZAppShortcutFr' Guid='XXXXXX'>
<Condition>LANGUAGE="fr"</Condition>
<Shortcut Id='ShortcutFr' Name='Démarrer $(var.ShortcutName)' Target='[INSTALLDIR]$(var.TargetEXE)' WorkingDirectory='INSTALLDIR' >
1
  • 3
    I started doing that on some questions but then I realized that editing hundreds of questions didn't seem worth it if it can be done from the administrative side.
    – vcsjones
    Commented May 15, 2013 at 14:29

You must log in to answer this question.

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