一、打開Sublime Text3,選擇菜單Preferences->Settings-User,打開用戶配置文件
然後在大括號中加上:
"tab_size": 4,
"translate_tabs_to_spaces": true,
二、phpstorm設置tab爲4個空格縮進的方法:
進入:File -> Setting -> Code Style -> PHP,右側不要勾選 "Use tab character"。
一、打開Sublime Text3,選擇菜單Preferences->Settings-User,打開用戶配置文件
然後在大括號中加上:
"tab_size": 4,
"translate_tabs_to_spaces": true,
二、phpstorm設置tab爲4個空格縮進的方法:
進入:File -> Setting -> Code Style -> PHP,右側不要勾選 "Use tab character"。
$fileContent = trim($fileContent); $fileContent=$queueList->characet($fileContent);