14,970
edits
(→編輯器設定) |
(→編輯器設定) |
||
| Line 115: | Line 115: | ||
為了方便 diff ,使用 4 個 {{kbd | key=space}} 取代 {{kbd | key=Tab}} 按鍵<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] | * [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 from PEAR Coding Standards: "Use an indent of 4 spaces, with no tabs. This helps to avoid problems with diffs, patches, SVN history and annotations."</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> | 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> | ||