摺疊/展開
pycharm設置
點擊PyCharm--->Preferences--->Editor--->General--->Code Folding,勾選Show code folding outlinehtml
勾選後效果如圖markdown
快捷鍵
如圖post
行號顯示
點擊PyCharm--->Preferences--->Editor--->General--->Appearance,勾選Show line numbers3d
勾選後效果如圖所示code
點擊PyCharm--->Preferences--->Editor--->General--->Code Folding,勾選Show code folding outlinehtml
勾選後效果如圖markdown
如圖post
點擊PyCharm--->Preferences--->Editor--->General--->Appearance,勾選Show line numbers3d
勾選後效果如圖所示code
轉載於:https://www.cnblogs.com/iamluoli/p/11188171.htmlhtm