SANJIESAN TOOLS / Text-based resources
Keep an indentation tidy-up small enough to review
A pasted example may look uneven because its indentation differs from the editor’s current display. Converting the whole file can produce a large diff that hides the one intended correction. Decide whether you are changing the view, converting whitespace or editing content before using a formatting command on a shared resource.
Read the existing convention first
Inspect several nearby lines and any project instruction. VS Code exposes indentation settings and can detect an open file’s indentation. A displayed tab width is not by itself an instruction to replace the file’s characters. Keep a copy of the original example and identify the intended content change in one sentence. If you do not understand whether whitespace is meaningful in the destination format, stop the conversion and consult that format’s documentation.
Separate cleanup from the wording change
If a whitespace conversion is genuinely needed, make it a separately described step. Inspect the affected range and avoid silently reformatting unrelated examples. Then apply the wording correction where it can be reviewed on its own. For a code or configuration example, use a harmless sample and the destination’s available validation route. A file looking aligned in one editor is not proof that its syntax or execution meaning is unchanged.
Deliver a readable explanation of the diff
Review the resulting file with its original, naming which changes are whitespace and which alter text. If the diff is unexpectedly broad, investigate the formatting scope rather than asking a reviewer to skim past it. Keep the agreed indentation convention beside the template instructions. The next contributor should be able to make a small correction without repeating a whole-file conversion. This procedure is a review method, not a universal whitespace rule for every language.