Home >Software Tutorial >Computer Software >Detailed operation method for displaying line numbers in vs2010 (Visual Studio)
Troubled with not being able to display line numbers in Visual Studio? The editor of php Chinese website has specially brought you a detailed operation guide. If you are writing code and want to see clear line numbers in your editor, continue reading this article. This article will guide you step by step on how to easily enable and customize line numbers in Visual Studio 2010.
First we need to open the vs2010 (Visual Studio) software to see this C++ program. There is no line number in front of the code!
Then we click [Options] under the [Tools] menu at the top.
We find [C/C++] under [Text Editor] in the pop-up option panel. C++ is used here. If you are writing in the C# programming language, use C#.
At this time we have a line number option under [General] in c/c++. If you check it, you can display the line number.
As shown in the final picture, check the [line number] and click OK. At this time, the line number in front of my C++ program is displayed.
The above is the detailed content of Detailed operation method for displaying line numbers in vs2010 (Visual Studio). For more information, please follow other related articles on the PHP Chinese website!