[oXygen-user] Do format-and-indent for a set of files?

George Cristian Bina george at oxygenxml.com
Thu Mar 13 11:23:42 CDT 2014


Hi Eliot,

Unfortunately we do not have such an action. A way to achieve this 
however is to turn on "format and indent the document on open" 
(Options-> Preferences -- Editor/Format) and then select the schemas you 
want to indent in the Project view, press Enter or invoke the "Open all 
files" action from the contextual menu then use the Save All action to 
save them.

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 3/13/14, 3:14 PM, Eliot Kimber wrote:
> So for my DITA RNG @domains update process I have:
>
> 1. Apply my XQuery to do the update of each doc
>
> 2. Do a global search and replace of "&#xA;" to "\n"
>
> 3. For each document, apply format-and-indent to make everything neat.
>
> 1 and 2 I can quickly do from the project view against all the RNG files
> by setting up a logical folder to hold the files.
>
> But there doesn't appear to be a way to do 3 against files in the project
> view. Is this possible?
>
> Thanks,
>
> Eliot
>
> —————
> Eliot Kimber, Owner
> Contrext, LLC
> http://contrext.com
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list