[PHP] PSR +VIM
The code formatting is available in VS Code through the following shortcuts: On Windows Shift + Alt + F On Mac Shift + Option + F On Ubuntu Ctrl + Shift + I http://stackoverflow.com/questions/29973357/how-do-you-format-code-in-visual-studio-code-vscode http://idroot.net/tutorials/how-to-install-php-composer-on-centos-7/ curl -sS https://getcomposer.org/installer | php http://stackoverflow.com/questions/857885/formatting-php-code-within-vim/31315171 Vim :version 系統 vimrc 設定檔: "/etc/vimrc" 使用者個人 vimrc 設定檔: "$HOME/.vimrc" 第二組個人 vimrc 檔案: "~/.vim/vimrc" 使用者個人 exrc 設定檔: "$HOME/.exrc" $VIM 預設值: "/etc" $VIMRUNTIME 預設值: "/usr/share/vim/vim74" ctrl+shift+v gg = https://github.com/VundleVim/Vundle.vim http://www.php-fig.org/psr/ 懶人模式 裝vim plugin 按下 v 進入檢視模式 按下gg移動到開頭 按下大寫G移動道行尾 按下=來完成縮排 === 1.Overview 只能使用 <?php 或 <?= 兩種tag 只能使用不帶 BOM 的 UTF-8 格式 ( BOM : Byte or...