一、Visual Studio Code文字編輯器
二、編輯器設定
{
"workbench.startupEditor": "newUntitledFile",
"git.path": "D:/course/PortableGit/bin/git.exe",
// 指向 PHP 可執行檔。
"php.validate.executablePath": "D:/course/UniServerZ/core/php71/php.exe",
}
{
"git.ignoreMissingGitWarning": true,
"update.channel": "none",
// 控制字型大小 (以像素為單位)。
"editor.fontSize": 18,
// 控制是否自動換行。
"editor.wordWrap": "on",
// 控制編輯器是否應自動設定貼上的內容格式。格式器必須可供使用,而且格式器應該能夠設定檔案中一個範圍的格式。
"editor.formatOnPaste": true,
// 使用滑鼠滾輪並按住 Ctrl 時,縮放編輯器的字型
"editor.mouseWheelZoom": true,
// 指向 PHP 可執行檔。
"php.validate.executablePath": "C:/Users/使用者名稱/xampp/php/php.exe",
}
{
"workbench.startupEditor": "newUntitledFile",
"git.path": "C:\\soft\\PortableGit\\bin\\git.exe",
"git.enableSmartCommit": true,
"editor.minimap.enabled": false,
"window.zoomLevel": 1,
// 指向 PHP 可執行檔。
"php.validate.executablePath": "C:\\Dropbox\\server\\UniServerZ\\core\\php70\\php.exe",
// 將檔案關聯設定為語言 (例如 `"*.extension": "html"`)。這些語言優先於已安裝語言的預設關聯。
"files.associations": {
"*.tpl": "html"
},
"editor.tabSize": 2,
"editor.multiCursorModifier": "ctrlCmd",
"explorer.confirmDelete": false
}
三、編輯器套件
四、常用快捷鍵