Enable the display of line numbers in Visual Studio

前端 未结 15 1150
暗喜
暗喜 2020-12-23 15:38

Why doesn\'t Visual Studio have any way of showing line numbers in a source file? Is there any way to enable it, or a plugin for it? I know that the number of lines of code

15条回答
  •  北海茫月
    2020-12-23 16:17

    It's not enabled by default but you can enable it by going to:

    1. Click Tools
    2. Options
    3. Text Editor (expand)
    4. All Languages
    5. Line Numbers (Checkbox)
    6. Click Ok

    settings

提交回复
热议问题