Re: How to set file recognized as XML
Mac Mac <[email protected]>
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
Hmm...I added the following line to ~/.SciTEUser.properties : file.patterns.xml=*.xml;*.xsl;*.svg;*.xul;*.xsd;*.dtd;*.xslt;*.axl;*.xrc;*.rdf;*.cfg When I open a .cfg file it still is not seen as xml, I need to do a Shift-F12 to get xml highlighting. On Wednesday, August 24, 2022 at 6:01:04 PM UTC-4 Neil Hodgson wrote: > Mac Mac: > > > I am working with xml that is stored in a file with an extension other > than .xml. > > > > What is the correct way to add additional file extensions to be > recognized as an xml file? > > Open the html.properties file which is also responsible for XML. At the > start, there are definitions for which file patterns to treat in certain > ways. Copy the file.patterns.xml setting to user properties and modify it > as needed. > > Neil > > -- You received this message because you are subscribed to the Google Groups "scite-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/ade2a66f-adc8-4eb2-ac4f-4ffeced7d737n%40googlegroups.com.