How to call up the document line number in Visual Studio 2010? How to call up the document line number in Visual Studio 2010

Time: 2022-02-03Source: InternetAuthor: Shaobing

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.

Screenshot of the steps to call up the document line number in Visual Studio 2010

​ ​ Then we find the Tools menu in the menu bar.

Screenshot of the steps to call up the document line number in Visual Studio 2010

Then open the Tools menu, find the option, and open it.

Screenshot of the steps to call up the document line number in Visual Studio 2010

In the options settings window, find the text editor and expand it.

Screenshot of the steps to call up the document line number in Visual Studio 2010

After expanding, find HTML, select it, and tick the Show partial line numbers checkbox on the right.

Screenshot of the steps to call up the document line number in Visual Studio 2010

After confirmation, the window automatically closes. We return to the HTML editing interface and check that the line number appears.

Screenshot of the steps to call up the document line number in Visual Studio 2010

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.

Screenshot of the steps to call up the document line number in Visual Studio 2010

This way our js file also has line numbers.

Screenshot of the steps to call up the document line number in Visual Studio 2010

The above are the steps for calling up the document line number in Visual Studio 2010. You should have some understanding of it!

Related articles更多>>

Popular recommendations