Is there a way to copy code from eclipse including ine numbers

前端 未结 3 2063
情歌与酒
情歌与酒 2021-01-18 10:11

I am writing a little bit of documentation and code explanation. I would like to copy code from eclipse including line numbers, so that it becomes easier to reference the co

3条回答
  •  滥情空心
    2021-01-18 10:28

    You can do it by printing a PDF of source file, then copying source with line numbers from the PDF document.

    It works for me with eclipse PDT + CutePDF, it should also work with Acrobat PDF printer

提交回复
热议问题