Showing Line Numbers in the Editor

Go to Tools – Options – Text Editor – All Languages – General, and check Line numbers to show line numbers for all files. 

If you just want to see (or not see) the line numbers of a specific file, you can override this global setting by going to the Text Editor – <specific language>General page.

Technorati tags: VS2005Tip, VS2008Tip