How to show line numbers in Google Colaboratory?
Question:
Normally it is possible in jupyter or iPython notebooks to show lines number for a cell, however I don’t see where in Google Colaboratory (Colab).
Answers:
Holding Ctrl and pressing ML (one by one) switches on/off line numbers in the cells containing code.
Yep, the shortcut (Ctrl + M + L)
works,
other option is use the bar menu, at tool -> preference -> show line numbers
Update:
new path: Tools -> Settings -> Editor -> show line numbers
I see it under Tools->Settings->Editor (as on On 1//1/2020)
Normally it is possible in jupyter or iPython notebooks to show lines number for a cell, however I don’t see where in Google Colaboratory (Colab).
Holding Ctrl and pressing ML (one by one) switches on/off line numbers in the cells containing code.
Yep, the shortcut (Ctrl + M + L)
works,
other option is use the bar menu, at tool -> preference -> show line numbers
Update:
new path: Tools -> Settings -> Editor -> show line numbers
I see it under Tools->Settings->Editor (as on On 1//1/2020)