Gallery: Kate编辑器设定:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: Placing this line in a file named <code>.kateconfig</code> of the base Gallery2 directory will tell Kate to use the correct formatting. You will also need to go into the Settings > Editor...)
 
无编辑摘要
 
第1行: 第1行:
Placing this line in a file named <code>.kateconfig</code> of the base Gallery2 directory will tell Kate to use the correct formatting. You will also need to go into the Settings > Editor > Open/Save window to tell Kate how deep to look for the folder config file.
在Gallery2基础目录下的<code>.kateconfig</code>文件中置入此行,这将会告知Kate使用正确的格式。你还需要通过设定(Settings) > 编辑器(Editor) > 打开/保存(Open/Save)窗口来告知Kate文件夹配置文件的查找深度。


Kate, as of this writing (version 2.5.5), displays mixed indention just fine, but does not handle converting mixed indention into the correct format. You will need to use [[Image:Repair-indention.zip|this script]] to update files before commit.
Kate(2.5.5版)显示混合缩进的情况尚佳,但无法处理混合缩进至正确格式的转换。你需要使用 [[Image:Repair-indention.zip|此脚本]]在执行前更新文件才行。


  kate: space-indent on; indent-width 4; mixed-indent on; indent-mode normal; tab-width 8; word-wrap-column 100; word-wrap off;
  kate: space-indent on; indent-width 4; mixed-indent on; indent-mode normal; tab-width 8; word-wrap-column 100; word-wrap off;

2008年11月5日 (三) 11:16的最新版本

在Gallery2基础目录下的.kateconfig文件中置入此行,这将会告知Kate使用正确的格式。你还需要通过设定(Settings) > 编辑器(Editor) > 打开/保存(Open/Save)窗口来告知Kate文件夹配置文件的查找深度。

Kate(2.5.5版)显示混合缩进的情况尚佳,但无法处理混合缩进至正确格式的转换。你需要使用 此脚本在执行前更新文件才行。

kate: space-indent on; indent-width 4; mixed-indent on; indent-mode normal; tab-width 8; word-wrap-column 100; word-wrap off;