How to copy text together with the line numbers us

2019-04-28 14:24发布

问题:

I would like to copy text but with the line numbers in front. How to do it? I would like to paste that text after that, with the line numbers in front.

回答1:

  • Install Copy With Line Numbers Reloaded
  • Select the text you want to copy
  • Run Edit: Copy With Line Numbers from the Command Palette
  • Paste @ your target document & your code will now have line numbers