Numbered CatRight-click any file in the VSCode explorer to produce a numbered copy — like running WhyCoverage reports, error messages, and test output all reference line numbers. When you paste code into a chat with an AI assistant, line numbers are lost and the AI has to count lines manually or estimate. Numbered Cat gives you a one-click way to get a numbered version of any file — either straight to your clipboard or saved to disk as a permanent artifact. Every other line-numbers extension copies a selection to your clipboard. Numbered Cat works on the whole file, directly from the explorer panel. UsageRight-click any file in the Explorer panel. You'll see two options: Copy with Line NumbersPuts the numbered content straight into your clipboard. Nothing is written to disk — just paste directly into your AI chat, email, or wherever you need it. Save with Line NumbersWrites a numbered copy to disk next to the source file:
Line number width scales automatically with the file length — a 50-line file uses 2-digit padding, a 500-line file uses 3-digit padding, and so on. ConfigurationAll settings apply to the Save with Line Numbers command and are under the
Example: always produce a
|