Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy With Line NumbersNew to Visual Studio Code? Get it now.
Copy With Line Numbers

Copy With Line Numbers

yassh

|
26,416 installs
| (8) | Free
Copy selected lines with line number (and file path).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy With Line Numbers for VS Code

Copy selected lines with line number (and file path).

This package is an imitation of Copy With Line Numbers Reloaded for Sublime Text.

Demo

Available commands

  • Copy With Line Numbers: Without Path
  • Copy With Line Numbers: With Full Path
  • Copy With Line Numbers: With Relative Path
  • Copy With Line Numbers: With File Name

Configuration

Property Description Type Default value
copyWithLineNumbers.showSuccessMessage Show success message. Boolean true
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft