在 JupyterLab 中显示代码行号 [英] Show code line numbers in JupyterLab

查看:58
本文介绍了在 JupyterLab 中显示代码行号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Jupyter notebook 中,cntrl+ m L 切换当前单元格中的代码行号,但如何在 JupyterLab 中引入代码行号?

In Jupyter notebook, cntrl+ m L toggles code line numbers in current cell but how to bring the code line numbers in JupyterLab?

引用在 github 中打开的类似问题

Referred a similar issue opened in github

推荐答案

https://github.com/jupyterlab/jupyterlab/issues/2395 - Shift+L 切换行号可见性.

https://github.com/jupyterlab/jupyterlab/issues/2395 - Shift+L toggles line number visibility.

这篇关于在 JupyterLab 中显示代码行号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆