Ask a questionAsk a question
 

Proposed AnswerHow do I display the line numbers in VS 2008?

All Replies

  • Friday, November 06, 2009 8:38 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi New to sql server,

    Thank you for your post.

    To turn on the feature of "line numbers" in Visual Studio, please go to Tools menu >> Options >> Text Editor >> Choose the Editor that you want to show "line numbers" (e.g. C#) >> General >> Check "Line Numbers".

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Saturday, November 28, 2009 5:17 PMnew to sql server Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for the response. 

    I just tried to display the line numbers using the directions you provided but couldn't get it to work.  When i go to Tools>>Options>>Text Editor, it doesn't give me a choice of editors.  It doesn't list anything that's even close.  It shows a Settings and Display panel but it doesn't offer a list of editors to choose from or a "Line Numbers" choice to select.

    I'm using VS 2008 Pro.  I don't know if this helps.

    Is there another way I can try?
  • Sunday, November 29, 2009 11:28 AMMr. Kashif Khan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Thanks for the response. 

    I just tried to display the line numbers using the directions you provided but couldn't get it to work.  When i go to Tools>>Options>>Text Editor, it doesn't give me a choice of editors.  It doesn't list anything that's even close.  It shows a Settings and Display panel but it doesn't offer a list of editors to choose from or a "Line Numbers" choice to select.

    I'm using VS 2008 Pro.  I don't know if this helps.

    Is there another way I can try?

    Go to tools->options and please refer below image to do the setting:


    This will resolve your problem. And please don forget to vote our post and mark our post as answered.

    If this post has resolved your problem/issue please mark our post as answered. We would like to help users more if they appreciate our efforts by my marking our posts as answered. This is an auto generated signature.