jupyter很好用,但是有時候希望像pycharm這些idea一樣可以自動補全。只需要安裝上插件它也是可以的。
如下步驟:
1. 執行以下兩命令,我是在anaconda中執行的
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user --skip-running-check
ps: 如果安裝失敗大多數是網絡超時的原因,可以找國內鏡像進行安裝。
2. 然後重啓jupyter 多了個擴展按鈕
3. 勾選 Table of Contents 和 Hinterland
ps:可能出現什麼都點不了的情況,有可能下面顯示No nbextensions match the applied filters! 所以注意去掉disable前的勾.還是不能解決看這篇文章是否能夠解決https://blog.csdn.net/u011318077/article/details/85475622
最後效果: