您的位置:首页 > 其它

在UBUNTU的Gedit中,如何显示空格和换行符

2014-07-30 00:35 447 查看
原文链接:http://blog.sina.com.cn/s/blog_7a9c930d01017i2h.html

查了好多资料,最后发现一个命令就可以搞定~~

[安装]

输入下面的命令:

$sudo apt-get install gedit-plugins

会安装下面的插件:

* Show/Hide Tabbar: Add a menu entry to show/hide thetabbar.

* Bracket Completion: Automatically adds closingbrackets.

* Draw Spaces: Draw Spaces and Tabs

* Embedded Terminal: Embed a terminal in the bottompane.

* Color Picker: Pick a color from a dialog and insert itshexadecimal representation.

* Session Saver: Save and restore your workingsessions

* Join/Split Lines: Join several lines or split longones

* Smart Spaces: Forget you’re not usingtabulations.

* Character Map: Insert special characters just by clicking onthem.

* Code comment: Comment out or uncomment a selected block ofcode.

插件(Draw Spaces)就是我们需要的。

[配置]

打开Gedit,点击“edit”->"preferences"->"plugins"。

找到“Draw Spaces”选项,选中,并点击“configure plugin”,在弹出的窗口中选择“Draw newlines”。

OK!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: