submit text 3初始配置

submit text 3安装PyV8

有时下载 Emmet 后,使用会报出关于 PyV8 的错误这时需要我们手动去安装 PyV8
  • 1、在github上下载需要的包:传送门
  • 2、把下载的压缩包解压到如下路径:
![](https://hdwcna.sn.files.1drv.com/y4mjH5OVRAwB6G0JaIFCGqy8W_nzQAqVDvaJ9Oi3smCZIY9JbR7eFWZSkBMXSLKsRu59f5AzuS5r7heiOKdWv6xtqN3JkD_Wg66FaF5q5_sQfuLCK6RXvEEKdJieai8r3LOoHCtnpqK-KMRJedq2-6r9r9l-CK3JG-YwKdOtxyXZlSasp-qBizzYi5nucfmItyjv96gw5ld3NWBz44J4DmqFg?width=681&height=29&cropmode=none)
> - 3、重启submit text 3即可

submit text 3在浏览器中预览html等文件

  • 1、安装插件:“view in browser”
  • 2、打开:“Preferences->Key Bindings-User”,输入如下内容:
    [ { "keys": ["ctrl+alt+f"], "command": "open_in_browser" },]

submit text 3在指定路径下在浏览器中预览

  • 1、安装插件:“SideBarEnhancements”
  • 2、打开:“Preference->Package Settings->Side Bar->Settings User-User”,添加如下:
1
2
3
{
"default_browser": "chrome" //one of this list: firefox, aurora, chrome, canary, chromium, opera, safari
}
  • 3、在侧边栏右键,找到“Project->Edit Preview URLs”,添加如下:
1
2
3
4
5
6
{
"项目路径":{
"url_testing": "localhost地址",
"url_production": "线上地址"
}
}
  • 4、打开:“Preference->Package Settings->Side Bar->key Bindings-User”,添加如下:
1
2
3
4
5
6
7
8
9
10
11
[
{
"keys": ["ctrl+shift+f"],
"command": "side_bar_open_in_browser",
"args": {
"paths": [],
"type": "testing",
"browser": ""
}
}
]
AbelChe wechat
扫码加微信
Donate here!!!
0%