In the visual studio 2013, To show line numbers for all language go through the following steps.
- Open the visual studio and go to the Tools Menu.
- Click on the Options…, last menu item
- You will see the following window for the Options
- From the left side tree view, navigate and select the Text Editor -> All Languages
- Select option ‘ Line numbers’