• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
樊小书生
博客园    首页    新随笔    联系   管理    订阅  订阅

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

posted @ 2016-08-15 22:43  樊小书生  阅读(482)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3