Compartilhar via


Print with Line Numbers

Keyboard:  CTRL + P
Menu:  File -> Print
Command:  File.Print
Versions:  2008,2010
Published:  3/9/2010
Code:  vstipEnv0006

 

Want to print your line numbers with your code?  Don't worry!  You can do it by just checking the "Include line numbers" option in the Print Dialog:

image

Comments

  • Anonymous
    March 08, 2010
    My preference: Info at top and as follows: Versions Supported:  2005, 2008, 2010                              Default       C#2005      C++6 Keyboard Shortcut:  CTRL+P      Ctrl+P        Ctrl+P Menu Command: File -> Print. Command: File.Print Tip Code:  vstipEnv0006

  • Anonymous
    March 08, 2010
    cool.  thanks for the feedback Stefan :) keep your comments coming folks this is your chance to decide how these things should look and I will be going back to retro fit all the tips with the new format so I want to make sure it adds value to everyone. Z

  • Anonymous
    March 08, 2010
    The comment has been removed

  • Anonymous
    March 08, 2010
    I like the verswion supported info (although going forward I want to adopt VS2010 as soon as I can get client s to accept it) and the bottom is fine :) Steve

  • Anonymous
    March 08, 2010
    Drat I still can't tpye! :( Steve

  • Anonymous
    March 08, 2010
    #1 - Yes #2 - Top Many thanks for very useful tips!

  • Anonymous
    March 08, 2010

  1. Yes, the summary information is very helpful.
  2. At the top so I can ignore the post if it's not applicable to me. Thanks :)
  • Anonymous
    March 08, 2010
    I think it you've got it nailed as it. I wouldn't change anything...thanks for doing this Zain.

  • Anonymous
    March 08, 2010
    Yes, keep them. I do like Stefan's suggestion.

  • Anonymous
    March 08, 2010
    My preference is to keep it at the top as well.

  • Anonymous
    March 08, 2010
    I was going to suggest putting it at the bottom, but it looks like I'm outvoted :)

  • Anonymous
    March 08, 2010
    You all rock!  The morning is just getting started and already I have tons of great feedback.  Thanks for being an active part of the Tip goodness :) Keep the comments coming! Z

  • Anonymous
    March 08, 2010
    Hi Thanks for your resource. My answer is #1 - Yes #2 - Top Thanks,

  • Anonymous
    March 09, 2010
    Yes, Top. Thanks And thanks for the helpful blog.

  • Anonymous
    March 09, 2010
    Ditto.  Yes, and at the top is great. Thanks!

  • Anonymous
    March 09, 2010
    Yes and at the top is great. Love this blog.

  • Anonymous
    March 09, 2010
    Add another "Yes, Top". Great work, Zane!

  • Anonymous
    March 09, 2010
    The comment has been removed

  • Anonymous
    March 09, 2010
    Please keep them - it's the first thing I look at!  Top is good.

  • Anonymous
    March 09, 2010
    The comment has been removed

  • Anonymous
    March 09, 2010
    Yes, Top, keep them comming. very helpful to point out items that may not have been otherwise obvious to everyone

  • Anonymous
    March 09, 2010
    Keep it at the bottom please :)

  • Anonymous
    March 09, 2010
    It would be very nice to have the info about VS versions supported go back at least to 2005, which I am sure is in use in a lot of companies (it is in ours).

  • Anonymous
    March 10, 2010
    yes and at the top will be great

  • Anonymous
    March 11, 2010
    Yes, 2005 info would be nice. Also, it would be great if you'd include the full command name, in addition to the default keyboard shortcut. For example, for print, the command name is File.Print, with default keyboard shortcut Ctrl + P.