Auto-format selection

Auto-format selection in Visual Studio Code — with three ready prompts, from the immediate task to the lasting pattern.

3prompt heights
Open it in the interactive atlas →

3 ready prompts

Written for the moment this actually comes up.

Improve — make it easier to accept

+
Before I send this snippet for review, make the selected lines easy to approve: format them, align…
Before I send this snippet for review, make the selected lines easy to approve: format them, align closing braces and indent nested blocks, break overly long expressions into shorter lines, and flag any changed local variable names or removed comments that might alter intent.

Decide — diagnose the stuck moment

+
I formatted a selection but unrelated lines outside my selection were altered. I fear global…

I formatted a selection and unrelated lines changed

I formatted a selection but unrelated lines outside my selection were altered. I fear global formatting rules or trailing whitespace handling applied to the whole file. I cannot tell why the formatter widened its scope. What likely caused this and how should I safely restore only the intended selection formatting?

Become — change the pattern

+
I try to format just blocks during iterative editing, but each time more of the file gets changed…

Selective formatting keeps bleeding into full-file changes

I try to format just blocks during iterative editing, but each time more of the file gets changed and my commits become hard to review. What practice or editor setting should I adopt so selective formatting stays local and I maintain small, reviewable commits?

Next to this one

Other code editor work people do in Visual Studio Code.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.