Gallery: Kate编辑器设定:修订间差异
来自站长百科
Firebrance(讨论 | 贡献) (新页面: 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...) |
Firebrance(讨论 | 贡献) 无编辑摘要 |
||
第1行: | 第1行: | ||
在Gallery2基础目录下的<code>.kateconfig</code>文件中置入此行,这将会告知Kate使用正确的格式。你还需要通过设定(Settings) > 编辑器(Editor) > 打开/保存(Open/Save)窗口来告知Kate文件夹配置文件的查找深度。 | |||
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;