Page 1 of 1

Modernize "Format and Indent" support for preview, remembering .bak setting

Posted: Fri Oct 14, 2022 6:39 pm
by chrispitude
Now that our writers are becoming more comfortable with XML, they are starting to manually modify files (such as .ditamap files or .xml DITA-OT project files).

As a best practice, we use Format and Indent to keep manually modified files clean and consistent:

image.png

We are finding that the following enhancements would be useful:
  • Provide a Preview feature (similar to refactoring/find-replace), to evaluate how widespread the changes will be, and to help writers learn where their manual modifications are being corrected.
  • Remember the .bak checkbox setting better across sessions (currently it reenables itself in each new Oxygen session).
  • Make the "Affected files" dialog upon completion more useful by showing "Nmodified of Ntotal" (or eliminate it to be consistent with refactoring/search-replace if Preview is implemented).
This is not urgent, but it would be nice to have.

Re: Modernize "Format and Indent" support for preview, remembering .bak setting

Posted: Tue Oct 18, 2022 10:57 am
by IrinaNadolu
Hello Chris,

Thank you for bringing the issues to our notice, we added internal issues for them and we'll update this thread when the problems are fixed.

Best regards,
Irina

Re: Modernize "Format and Indent" support for preview, remembering .bak setting

Posted: Tue Oct 18, 2022 12:31 pm
by IrinaNadolu
Hello Chris,
I am sending also the ids of the registered issues:
EXM-51656- Preview in Format and Indent Files
EXM-51658 - remembering the .bak checkbox across sessions
EXM-51659 - making the Affected files dialog more useful
Best regards,
Irina