sublime text3装了open in browser 怎么html文档还是不能在浏览器中显示
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sublime text3装了open in browser 怎么html文档还是不能在浏览器中显示相关的知识,希望对你有一定的参考价值。
不用装open in browser配置在Chrome,Firefox中打开
安装 SideBarEnhancements
然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications
然后在这里边设置firefox打开的方式。
application : 路径要修改为自己默认安装的路径。
[
"id": "side-bar-files-open-with",
"children":
[
//application firefox
"caption": "firefox",
"id": "side-bar-files-open-with-firefox",
"command": "side_bar_files_open_with",
"args":
"paths": [],
"application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
"extensions":".*" //any file with extension
,
"caption":"-",
"caption": "chrome",
"id": "side-bar-files-open-with-chrome",
"command": "side_bar_files_open_with",
"args":
"paths": [],
"application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"extensions":".*" //any file with extension
]
]
设置快捷键
Key bindings -> User
[
"keys": ["ctrl+shift+c"], "command": "copy_path" ,
"keys": ["alt+f12"], "command": "open_in_browser" ,
"keys": ["f12"], "command": "side_bar_files_open_with",
"args":
"paths": [],
"application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
"extensions":".*" //any file with extension
,
"keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
"args":
"paths": [],
"application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"extensions":".*" //any file with extension
] 参考技术A
点 preferences
点 keybindings
用
[
"keys": ["ctrl+shift+alt+r"], "command": "open_in_browser" ,
]
来替换原来的内容,
按ctrl+s
关闭
快捷键ctrl+shift+alt+r 打开网页
以上是关于sublime text3装了open in browser 怎么html文档还是不能在浏览器中显示的主要内容,如果未能解决你的问题,请参考以下文章
sublime text3前端开发插件配置以及使用(个人喜爱)