How to show line numbers of a python notebook in Visual Studio Code

Viewed 3602

I think it should be quite straightforward, however, I cannot seem to find this option in visual studio code.

Could you tell me if it is possible and how to enable line numbers in visual studio code when coding in a python notebook?

FYI: it is possible to use visual studio code with a python notebook (you can check more info here)

2 Answers

You have to press L after clicking on the left side of the code block.

Screenshot

Related