function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TehNrdTehNrd 

How do I print code in Eclipse?

Yes, I tried File > Print but the option is grayed out. I think the Force.com Eclipse Toolkit is disabling printing. Is there anyway to get around this?

If not, can anyone recommend a text editor that can print line numbers correctly.

Thanks,
Jason
ChristineVWChristineVW
Try notepad++ for a good text editor. 

If you need Eclipse to show line numbers, it's in Preferences - General - Editors - Text Editors.  I'm not sure about the printing issue.
TehNrdTehNrd
Thanks for the tip Christine.

The only thing with notepad++ that I don't like is that I can't seem to make the font smaller when printing.


TCAdminTCAdmin
Hello TehNrd,

Your other option is Wordpad. It is in between Notepad and Word and includes the benefits of both.
TehNrdTehNrd

TCAdmin wrote:
Hello TehNrd,

Your other option is Wordpad. It is in between Notepad and Word and includes the benefits of both.


....but it can't print with line numbers.
TCAdminTCAdmin
TehNrd,

Here is another option that I just tested. You can copy the text within Eclipse and open Excel. You can then select the first cell in the second column and paste. It should automatically recognize the tabs as the delimiters. You can then use the first column to generate the series of line numbers.