Recently, some friends have consulted the editor about how to retrieve the document line number in Visual Studio 2010? Here is the Visual Studio guide for you Friends in need can learn about the method of calling up the document line number in 2010.
We need to open visual studio 2010 first, and the line number is not displayed for the HTML code of the web page we edited.
Then we find the Tools menu in the menu bar.
Then open the Tools menu, find the option, and open it.
In the options settings window, find the text editor and expand it.
After expanding, find HTML, select it, and tick the Show partial line numbers checkbox on the right.
After confirmation, the window automatically closes. We return to the HTML editing interface and check that the line number appears.
We switch to the editing interface of the js file and there is still no line number. We still open Tools-Options-Text Editor, find JScript, select it, and put a check mark on the right side to display part of the line number.
This way our js file also has line numbers.
The above are the steps for calling up the document line number in Visual Studio 2010. You should have some understanding of it!