Modernize "Format and Indent" support for preview, remembering .bak setting
Posted: Fri Oct 14, 2022 6:39 pm
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:
We are finding that the following enhancements would be useful:
As a best practice, we use Format and Indent to keep manually modified files clean and consistent:
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).