Set file type with no extension?

Oxygen general issues.
rrhill
Posts: 1
Joined: Wed Apr 03, 2013 12:33 am

Set file type with no extension?

Post by rrhill »

We have a specific folder that contains XSLT files, none of which have a file extension. So, whenever we open these in oXygen, we have to specify the file type. Anyway to tell oXygen all files in a specific path are XSLT be default? Of course, we could ad an xsl extension ... but ...
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Set file type with no extension?

Post by adrian »

Hello,

oXygen detects the file type from the file extension. I'm afraid you cannot configure oXygen to handle files from a specific path as XSLT (or any other type).

However, there is a trick that you could use to associate files without extension to an oXygen file type. Go to Options > Preferences, File Types. Press New to add a new association, delete everything from the Extension field and in the Editor combo select XSL Editor. Note that this will cause all files without extension to be handled as XSLT.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply