Text diff tools: Difference between revisions

Jump to navigation Jump to search
280 bytes added ,  6 February 2013
m
Line 114: Line 114:
== 編輯器設定 ==
== 編輯器設定 ==
為了方便 diff ,使用 4 個 {{kbd | key=space}} 取代 {{kbd | key=Tab}} 按鍵<ref>[http://blog.wu-boy.com/2012/07/how-to-write-maintainable-php-source-code/ 寫出好維護的 PHP 程式碼 | 小惡魔 - 電腦技術 - 工作筆記 - AppleBOY]</ref>。
為了方便 diff ,使用 4 個 {{kbd | key=space}} 取代 {{kbd | key=Tab}} 按鍵<ref>[http://blog.wu-boy.com/2012/07/how-to-write-maintainable-php-source-code/ 寫出好維護的 PHP 程式碼 | 小惡魔 - 電腦技術 - 工作筆記 - AppleBOY]</ref>。
ex: [http://www.sublimetext.com/ Sublime Text] v.2<ref>[http://www.sublimetext.com/docs/2/indentation.html Indentation Settings - Sublime Text 2 Documentation]</ref>
Menu -> Preferences -> Settings - User
<pre>
{
    "tab_size": 4,
    "translate_tabs_to_spaces": true
}
</pre>


== references ==
== references ==

Navigation menu