syntax-highlightingjedit

jEdit: How to turn on syntax highlight for a given extension?


I want .xslt files to be highlighted as XML in jEdit.

How to do it in jEdit?


Solution

  • There are different possible solutions according to what you want.
    Besides that, there is an xsl mode that you might prefer for .xslt files over the xml mode. That mode is also the default for .xsl files which is the standard extension for XSL(T) scripts.
    But as you asked for xml, I'll keep with that in the following descriptions.