原文链接:How to show line numbers in the editor? 操作方法 打开菜单: Tools - Options - Text Editor - All Languages - General, 选中 Line numbers 可为所有文件显示行号。 如果你只想显示(或不显示)特定类型文件的行号,可以覆盖上面所作的全局设置: Tools - Options - Text Editor - <语言类型> - General。
打开菜单: Tools - Options - Text Editor - All Languages - General, 选中 Line numbers 可为所有文件显示行号。
如果你只想显示(或不显示)特定类型文件的行号,可以覆盖上面所作的全局设置: Tools - Options - Text Editor - <语言类型> - General。