zoukankan      html  css  js  c++  java
  • there are no packages available for installation插件安装问题和如何配置浏览器的快捷键

    sublime text3 在安装插件时,有时候会莫名其妙的弹出如下所示的弹窗(之前遇到了,但写的时候不知道为什么我的又可以了,这个只是出现了这个问题之后可以尝试的一个解决办法,图片就从网上找了一个),弹窗上面显示there are no packages available for installation,对于window系统主要是因为Tcp/IPv6造成的,如果遇到这种问题,可以打开网络和共享中心>>更改适配器设置>>选择连接网络的那个点击右键>>属性>>将IPv6前面复选框的小勾去掉,点击确定就可以了


    最新安装的sublime text ,当需要使用浏览器打开的时候,需要点击右键,然后选择浏览器打开,而且在前端设计时我们有时候需要在多个浏览器查看,这样就很不方便,下面是其设置方法

    在preferences>key Bindings-User里面复制下面的代码,但必须首先安装SideBarEnhancements插件才可以

    application 对应的是浏览器的安装位置

    [
      { "keys": ["alt+/"], "command": "auto_complete" },
      { "keys": ["alt+/"], "command": "replace_completion_with_auto_complete", "context":
        [
          { "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
          { "key": "auto_complete_visible", "operator": "equal", "operand": false },
          { "key": "setting.tab_completion", "operator": "equal", "operand": true }
        ]
      },
        // HTML, XML close tag
        { "keys": ["/"], "command": "close_tag", "args": { "insert_slash": true }, "context":
            [
                { "key": "selector", "operator": "equal", "operand": "(text.html, text.xml) - string - comment", "match_all": true },
                { "key": "preceding_text", "operator": "regex_match", "operand": ".*<$", "match_all": true },
                { "key": "setting.auto_close_tags" }
            ]
        },
        { "keys": ["ctrl+alt+shift+p"], "command": "autoprefixer" },
      //ie 
      { 
        "keys": ["alt+f12"], 
        "command": "side_bar_files_open_with", 
        "args": { "paths": [], 
          "application": "C:\Program Files\Internet Explorer\iexplore.exe", 
          "extensions": ".*" 
        } 
      }, 
      //chorme 
      { 
        "keys": ["ctrl+f12"], 
        "command": "side_bar_files_open_with", 
        "args": { "paths": [], 
          "application": "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", 
          "extensions": ".*" 
        } 
      }, 
      //firefix 
      { 
        "keys": ["shift+f12"], 
        "command": "side_bar_files_open_with", 
        "args": { "paths": [], 
          "application": "E:\Program Files\Mozilla Firefox\firefox.exe", 
          "extensions": ".*" 
        } 
      } 
    ]
    
    其中IE的快捷键是alt+f12

    谷歌的快捷键是ctrl+f12

    火狐的快捷键是shift+f12

  • 相关阅读:
    body test
    menu
    Toolbutton test itk_component
    grid pack
    double inherit
    set font
    Activity test itk_component
    Activity test no class
    按键驱动调试总结
    system.img解包打包的方法
  • 原文地址:https://www.cnblogs.com/fxsshomepage/p/5785408.html
Copyright © 2011-2022 走看看