下载下面两个文件
folding.py , folding.gedit-plugin
安装:
将文件放在 ~/.gnome2/gedit/plugins/ 下,
注:~表示当前用户目录,.gnome2代表是隐藏文件夹,用ctrl+h 就能看到
然后在gedit的 edit-preference-plugin中启动simple folding
使用:
点击任意一行
alt-z:自动折叠该行下的所有缩进行(例如一个for语块)
alt-x:展开折叠项
下载下面两个文件
folding.py , folding.gedit-plugin
安装:
将文件放在 ~/.gnome2/gedit/plugins/ 下,
注:~表示当前用户目录,.gnome2代表是隐藏文件夹,用ctrl+h 就能看到
然后在gedit的 edit-preference-plugin中启动simple folding
使用:
点击任意一行
alt-z:自动折叠该行下的所有缩进行(例如一个for语块)
alt-x:展开折叠项