1.安装完 WampServer后,若显示只启动了两项服务,则修改注册表(不修改图标也会变绿了)
将右侧 start 值由 3 改为 4
I. 安装 package control
官网 https://packagecontrol.io/ IP:74.207.232.232
该链接经常高延迟,建议用对此IP加速
II. 安装 Side Bar
1.Open Folders – 右键文件夹 – project – Edit Preview URLs
(就是在左边 SideBar 中,右键文件夹)
填入
{
"D:/wamp64/www/":{
"url_testing": "http://localhost/",
"url_production": ""
}
}
2.preferences – package settings – side bar – settings user
填入
{
"default_browser": "chrome" //one of this list: firefox, aurora, chrome, canary, chromium, opera, safari
}
3.preferences – package settings – side bar – key-bindings-user
填入(此处设定为f2,也可设为其他键位,该键位一定要小写)
[
{
"keys": ["f2"],
"command": "side_bar_open_in_browser",
"args": {
"paths": [],
"type": "testing",
"browser": ""
}
}
]