zoukankan      html  css  js  c++  java
  • 配置在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

    当然,你也可以配置,其它配置器用这样的方式预览。 

    在 Sublime Text 的全局配置文件 Preferences.sublime-settings 中找到 word_separators 字段,删掉其中的 - 即可双击选中一连串的多个单词。

  • 相关阅读:
    Java实现 洛谷 P1170 兔八哥与猎人
    Java实现 洛谷 P1601 A+B Problem(高精)
    断言(Assert)与异常(Exception)
    spring源码之—Assert.notNull
    spring的断言工具类Assert的基本使用
    js中 给json对象添加属性和json数组添加元素
    java中抽象类和空的方法体有什么区别?
    抽象类实现接口
    springmvc中controller内方法跳转forward?redirect?
    java获取访问路径、域名、项目名、请求入参
  • 原文地址:https://www.cnblogs.com/eaysun/p/4035197.html
Copyright © 2011-2022 走看看