日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

在sublime-text中设置浏览器预览

發布時間:2025/5/22 HTML 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在sublime-text中设置浏览器预览 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

配置在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
????????????????????????}
????????????}
????????]
????}
]

配置在IE中打開

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
????????????}?
?????}?????
????
]

如果是其它瀏覽器,可以 ctrl+shift+c 路徑,然后直接在地址欄粘貼。

這樣就可以用這三個鍵在瀏覽中預覽頁面了:

F12 : Firefox

alt + F12 : IE

ctrl + F12 : chrome

當然,你也可以配置,其它配置器用這樣的方式預覽。

轉載于:https://www.cnblogs.com/wangluochong/p/5537478.html

總結

以上是生活随笔為你收集整理的在sublime-text中设置浏览器预览的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。