Text diff tools: Difference between revisions

Jump to navigation Jump to search
Line 113: Line 113:


== 編輯器設定 ==
== 編輯器設定 ==
為了方便 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]
為了方便 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]
* [http://pear.php.net/manual/en/standards.indenting.php Manual :: Indenting and Line Length] Quote: "Use an indent of 4 spaces, with no tabs. This helps to avoid problems with diffs, patches, SVN history and annotations."</ref>。
* [http://pear.php.net/manual/en/standards.indenting.php Manual :: Indenting and Line Length] Quote: "Use an indent of 4 spaces, with no tabs. This helps to avoid problems with diffs, patches, SVN history and annotations."</ref>。


Navigation menu