[英]How to show line numbers of text file opened in Visual Studio?
是否有任何可以显示在Visual Studio中打开的所有文件的行号?
Browse to the following path: 浏览到以下路径:
Tools -> Options -> Text Editors -> All Languages 工具 - >选项 - >文本编辑器 - >所有语言
Now check the option Line Numbers 现在选中选项行号
And here you go! 你走吧!
In VS 2010, for text only... 在VS 2010中,仅限文本...
Tools -> Options -> Text Editor -> Plain Text -> General -> Display Line Numbers
For everything... 对于一切......
Tools -> Options -> Text Editor -> All Languages -> General -> Display Line Numbers
Go to Tools -> Options -> Text Editor -> All Languages. 转到工具 - >选项 - >文本编辑器 - >所有语言。 Check "Show line numbers" 选中“显示行号”
取决于您的Visual Studio版本,但在VS2012中您必须转到工具 - >选项 - >文本编辑器 - >纯文本,然后您必须勾选“显示”标题下的“行号”复选框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.