14,970
edits
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 == | ||