<div dir="ltr">Hi Franz-Josef and George,<div><br></div><div>> Setting formatting options at project level will help anyone opening the<br>> same files but using the same project to have the same formatting.<br></div><div><br></div><div>I can't endorse George's advice strongly enough - to set formatting options (line length, indent length, and XML formatting rules) at the project level. Ever since I discovered this technique and moved my team's project file into version control, this problem of one person's format & indent changing the whole file after another person's commit went away. (Our project file also stores validation scenarios and a suite of external tools that we can call from oXygen; see <a href="https://github.com/HistoryAtState/hsg-project/wiki/setup#get-hsg-project">https://github.com/HistoryAtState/hsg-project/wiki/setup#get-hsg-project</a>.)</div><div><br></div><div>Also, we typically separate commits into two types - first, a substantive commits, followed by a format & indent commit. This allows everyone to see exactly what we intended to change, vs. the resulting formatting-only changes.</div><div><br></div><div>Joe</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 10, 2020 at 3:26 AM George Bina <<a href="mailto:george@oxygenxml.com">george@oxygenxml.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Franz-Josef,<br>
<br>
Well, the file is actually changed by the format and indent, so if you <br>
save it and it is different you should see that, no?<br>
One option may is to batch format and indent your files and commit them <br>
that way, so there will be no further changes when you format and indent <br>
them.<br>
Setting formatting options at project level will help anyone opening the <br>
same files but using the same project to have the same formatting.<br>
<br>
Best Regards,<br>
George<br>
--<br>
George Cristian Bina<br>
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger<br>
<a href="http://www.oxygenxml.com" rel="noreferrer" target="_blank">http://www.oxygenxml.com</a><br>
<br>
On 11/10/20 9:49 AM, Franz-Josef Knelangen wrote:<br>
> Hi there,<br>
> <br>
> really like this option – saves me a lot of Shift+Ctrl+P presses - but <br>
> have a problem that this marks all files as dirty and after saving they <br>
> will be displayed “changed” when committing the results to our VCS.<br>
> <br>
> Is there a way to work around this or do I have to disable that option?<br>
> <br>
> TIA,<br>
> <br>
> Franz-Josef<br>
> <br>
> <br>
> *AKG Software Consulting GmbH<br>
> Franz-Josef Knelangen*<br>
> **<br>
> <br>
> Uhlandstraße 12<br>
> 79423 Heitersheim<br>
> Germany<br>
> <br>
> Tel.: +49 (0)7634 5612-611<br>
> Fax: +49 (0)7634 5612-300<br>
> E-Mail: _fjk@akgsoftware.de_<br>
> Internet: <a href="http://www.akgsoftware.de" rel="noreferrer" target="_blank">www.akgsoftware.de</a> <<a href="http://www.akgsoftware.de" rel="noreferrer" target="_blank">http://www.akgsoftware.de</a>><br>
> <br>
> Geschäftsführer: Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno <br>
> Brüggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther<br>
> Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht Freiburg)<br>
> <br>
> <br>
> _______________________________________________<br>
> oXygen-user mailing list<br>
> <a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a><br>
> <a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" rel="noreferrer" target="_blank">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
> <br>
_______________________________________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a><br>
<a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" rel="noreferrer" target="_blank">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
</blockquote></div>