34. Visual Studio Code
• 由 Microsoft 主導開發的編輯器
• 以 Electron 技術打造
• 內建語法提⽰示、版本控制及偵
錯⼯工具
• 跨平台、免費、開放源始碼
• ⽀支援外掛系統,可擴充功能
⺫⽬目前正式發佈 v1.3.1 穩定版
35. 使⽤用
wagon
+
VS
Code
輕鬆打造
Windows
平台
PHP/Laravel
開發環境
• VS Code 預設使⽤用 PATH 裡的 git,因此要先裝 git
• 若是不想⽤用 PATH 裡的,可以指定路徑
客製化 git 設定
{
//-‐-‐-‐-‐-‐-‐-‐-‐
Git
configuration
-‐-‐-‐-‐-‐-‐-‐-‐
//
Is
git
enabled
"git.enabled":
true,
//
Path
to
the
git
executable
"git.path":
"把
wagon
的
git.exe
路徑寫在這裡",
//
Whether
auto
fetching
is
enabled.
"git.autofetch":
true,
}
36. 使⽤用
wagon
+
VS
Code
輕鬆打造
Windows
平台
PHP/Laravel
開發環境
• VS Code 預設使⽤用 PATH 裡的 PHP interpreter
• 若是不想⽤用 PATH 裡的,可以指定路徑
客製化 PHP 設定
{
//-‐-‐-‐-‐-‐-‐-‐-‐
PHP
Configuration
options
-‐-‐-‐-‐-‐-‐-‐-‐
//
Whether
php
validation
is
enabled
or
not.
"php.validate.enable":
true,
//
Points
to
the
php
executable.
"php.validate.executablePath":
"把
wagon
的
php.exe
路徑
寫在這裡",
//
Whether
the
linter
is
run
on
save
or
on
type.
"php.validate.run":
"onSave",
}