Ubuntu gedit 折叠插件
2014-05-13 16:34
190 查看
Ubuntu Kylin 14.04
gedit - Version 3.10.4 (as same as all version of gedit 3.x )
Attention: this plugin of gedit version 3.x is not the same as gedit version 2.x
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
First, download gedit plugin of folding, address: http://pan.baidu.com/s/1i3KFCI5
In my computer,the download directory is /home/jiayith/Dlowloads/
Then, tar -zxvf gedit-folding.tar.gz ,you will find two files: folding.py and folding.plugin
Then copy two files to correct directory, so you must find which directory is the plugins of your gedit.
Here is a blog,but it is only fit for gedit 2.x,
"其实gedit也可以使用很多插件,这些插件都放在~/.gnome2/gedit/plugins/目录下,如果没有此目录则创建 " this is not correct directory for my computer.
As for me,i found the directory is "/usr/lib/x86_64-linux-gnu/gedit/plugins/" ,all plugins in the directory
How can i found it? Go to root directory "/" , you can double click "主文件夹" in the desktop ,then there is a "Computer" in "Devices" ,double click "Computer" you will
enter root directory, actually, it is same as inputting "cd /" in terminal.
Next,you can click SEARCH button, just search it! Input "gedit" ,you will get many directorys, try each directory ,go to directory "Plugins", if there are many files such as "bookmarks.plugin",bracketcompletion.plugin","bracketcompletion.py" ,that is it! You find the direcroty! Mine is "/usr/lib/x86_64-linux-gnu/gedit/plugins/"
Then ,just cp the two files you get at first to the directory you find :
root@jiayith:/home/jiayith/Downloads# cp folding.py /usr/lib/x86_64-linux-gnu/gedit/plugins
root@jiayith:/home/jiayith/Downloads# cp folding.plugin /usr/lib/x86_64-linux-gnu/gedit/plugins
(you may need to "sudo su")
Last,open you gedit ,"Edit"->"Preferences"->"Plugins"->"Simple Folding" , choose it,ok!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And in my computer, Alt+X and Alt+Z can let code block fold. You can have a try!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ps:Why is this blog in English??? I would not tell i can not fix my Chinese input method......
gedit - Version 3.10.4 (as same as all version of gedit 3.x )
Attention: this plugin of gedit version 3.x is not the same as gedit version 2.x
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
First, download gedit plugin of folding, address: http://pan.baidu.com/s/1i3KFCI5
In my computer,the download directory is /home/jiayith/Dlowloads/
Then, tar -zxvf gedit-folding.tar.gz ,you will find two files: folding.py and folding.plugin
Then copy two files to correct directory, so you must find which directory is the plugins of your gedit.
Here is a blog,but it is only fit for gedit 2.x,
"其实gedit也可以使用很多插件,这些插件都放在~/.gnome2/gedit/plugins/目录下,如果没有此目录则创建 " this is not correct directory for my computer.
As for me,i found the directory is "/usr/lib/x86_64-linux-gnu/gedit/plugins/" ,all plugins in the directory
How can i found it? Go to root directory "/" , you can double click "主文件夹" in the desktop ,then there is a "Computer" in "Devices" ,double click "Computer" you will
enter root directory, actually, it is same as inputting "cd /" in terminal.
Next,you can click SEARCH button, just search it! Input "gedit" ,you will get many directorys, try each directory ,go to directory "Plugins", if there are many files such as "bookmarks.plugin",bracketcompletion.plugin","bracketcompletion.py" ,that is it! You find the direcroty! Mine is "/usr/lib/x86_64-linux-gnu/gedit/plugins/"
Then ,just cp the two files you get at first to the directory you find :
root@jiayith:/home/jiayith/Downloads# cp folding.py /usr/lib/x86_64-linux-gnu/gedit/plugins
root@jiayith:/home/jiayith/Downloads# cp folding.plugin /usr/lib/x86_64-linux-gnu/gedit/plugins
(you may need to "sudo su")
Last,open you gedit ,"Edit"->"Preferences"->"Plugins"->"Simple Folding" , choose it,ok!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And in my computer, Alt+X and Alt+Z can let code block fold. You can have a try!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ps:Why is this blog in English??? I would not tell i can not fix my Chinese input method......
相关文章推荐
- ubuntu中gedit中插件的安装之代码折叠插件
- ubuntun11.10 下安装gedit的Source Code Browser插件
- 【转】Ubuntu-11.10之三 Gedit插件安装
- ubuntu下安装gedit插件
- ubuntu自带的gedit编辑器添加Markdown预览插件
- Ubuntu-11.10之三 Gedit插件安装
- 解决ubuntu下gedit插件无法勾选的问题
- ubuntu下安装gedit插件
- ubuntu下安装gedit插件
- Ubuntu 下安装JRE插件
- ubuntu14.04 eclipse安装svn插件 遇到的问题 Incompatible JavaHL library loaded. 1.7.x or later required.
- Ubuntu 搭建强大的 IDE —— Vim + Vundle + 插件(下)
- 点滴记录——Ubuntu 14.04中gedit打开文件出现中文乱码问题
- Bootstrap3.0学习第二十五轮(JavaScript插件——折叠)
- 在Ubuntu 11.10中给gedit增加自定义Color Scheme
- ubuntu下firefox下安装java插件
- Ubuntu中apt用法 && Ubuntu信使工具iptux && gedit打开txt乱码 && 改变Ubuntu设备的名字
- ubuntu gedit 中文乱码问题
- ubuntu安装scrapy插件的时候缺失python.h
- Ubuntu,Vim,gedit支持GBK,gb2312