Sublime Text 3 插件介绍

1. SmartMarkdown 插件

作用:MD文件编写简单补全

2. MarkDown Preview 插件

作用:MD文件预览

3. Markdown to Clipboard 插件

作用:文档内鼠标右键复制MD转化为HTML后的代码

4. Terminal 插件

作用:终端命令窗口
快捷键:Ctrl+Shift+t

5. INI 插件

(查看 ini 格式文件)

1.打开 Sublime Text
2.找到菜单栏的 Preferences, 点击 "Browse Packages..."
3.在打开的目录中添加一个名为“INI”的文件夹
4.下载 https://github.com/clintberry/sublime-text-2-ini/archive/master.zip
5.解压后,将解压后的文件拷贝到 INI 文件夹中(注:不要有sublime-text-2-ini-master目录)
6.菜单栏的 View-->Syntax 中就出现了 INI(支持 INI 语法高亮支持)

6. SqlBeautifier 插件

(格式化SQL语句)
更改 SqlBeautifier 默认的快捷键命令:

1、点击 Preference->Key Bindings
2、在弹出窗口右侧(User), 添加以下内容:
{"keys":["ctrl+alt+s"],"command":"sql_beautifier"}

7. Pretty JSON 插件

(支持 json 文件)
更改 Pretty JSON 默认的快捷键命令:

1、点击 Preference->Key Bindings
2、在弹出窗口右侧(User), 添加以下内容:
{ "keys": [ "ctrl+alt+j" ], "command": "pretty_json" },
{ "keys": [ "ctrl+alt+j", "ctrl+alt+u"], "command": "un_pretty_json" }

8. SideBarEnhancements 插件

作用:侧栏右键功能增强
更改快捷键命令:

1、点击 Preference->Key Bindings
2、在弹出窗口右侧(User), 添加以下内容:

  // 打开 Word 2013
  {
    "keys": ["ctrl+alt+shift+w"],
    "command": "side_bar_files_open_with",
    "args": {
      // 在 C:\\Windows\\sublime 中, 创建一个 test.pptx 文件 (若不存在 sublime 文件夹,需要创建)
      "paths": ["C:\\Windows\\sublime\\test.docx"],
      "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Office 2013\\Word 2013.lnk", // Windows
      "extensions":"doc|docx",
      "args":[]
    }
  },
  // 打开 PowerPoint 2013
  {
    "keys": ["ctrl+alt+shift+p"],
    "command": "side_bar_files_open_with",
    "args": {
      // 在 C:\\Windows\\sublime 中, 创建一个 test.pptx 文件 (若不存在 sublime 文件夹,需要创建)
      "paths": ["C:\\Windows\\sublime\\test.pptx"],
      "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Office 2013\\PowerPoint 2013.lnk", // Windows
      "extensions":"ppt|pptx",
      "args":[]
    }
  },
  // 打开 Excel 2013
  {
    "keys": ["ctrl+alt+shift+e"],
    "command": "side_bar_files_open_with",
    "args": {
      // 在 C:\\Windows\\sublime 中, 创建一个 test.xlsx 文件 (若不存在 sublime 文件夹,需要创建)
      "paths": ["C:\\Windows\\sublime\\test.xlsx"],
      "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Office 2013\\Excel 2013.lnk", // Windows
      "extensions":"xls|xlsx",
      "args":[]
    }
  },
  // 打开 FireFox 浏览器
  {
    "keys": ["ctrl+alt+f"],
    "command": "side_bar_files_open_with",
    "args": {
      "paths": ["https://www.baidu.com"],
      // "paths": ["C:\\Windows\\System32\\drivers\\etc\\hosts"],
      "application": "D:\\Firefox\\firefox.exe",
      "args":[]
    }
  },
  // 打开 google chrome 浏览器
  {
    "keys": ["ctrl+alt+g"],
    "command": "side_bar_files_open_with",
    "args": {
      "paths": ["https://www.baidu.com"],
      // "paths": ["C:\\Windows\\System32\\drivers\\etc\\hosts"],
      "application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
      "args":[]
    }
  }

1、 在左侧边栏,任选一个文件,点击"右键", 选择"Open With"->"Edit Applications", 在打开的文件中,将下面的内容覆盖原有的内容:
2、 需要更改相应软件的执行程序路径(更改 "application" 参数)

[
  {"id": "side-bar-files-open-with",
    "children":
    [
      //application 1
      {
        "caption": "Firefox",
        "id": "side-bar-files-open-with-firefox",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "D:\\Firefox\\firefox.exe",
                  "extensions":".*", //open all even folders
                  "args":[]
                },
        "open_automatically" : false // will close the view/tab and launch the application
      },

      //application 2
      {
        "caption": "Chrome",
        "id": "side-bar-files-open-with-chrome",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
                  "extensions":".*", //any file with extension
                  "args":[]
            },
        "open_automatically" : false // will close the view/tab and launch the application
      },

      //separator
      {"caption":"-"},

      //application 3
      {
        "caption": "Photoshop",
        "id": "side-bar-files-open-with-photoshop",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "Adobe Photoshop CS5.app", // OSX
                  "extensions":"psd|png|jpg|jpeg",
                  "args":[]
                },
        "open_automatically" : false // will close the view/tab and launch the application
      },

      //application 4
      {
        "caption": "Word",
        "id": "side-bar-files-open-with-word",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Office 2013\\Word 2013.lnk", // Windows
                  "extensions":"doc|docx",
                  "args":[]
                },
        "open_automatically" : true // will close the view/tab and launch the application
      },

      //application 5
      {
        "caption": "PowerPoint",
        "id": "side-bar-files-open-with-ppt",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Office 2013\\PowerPoint 2013.lnk", // Windows
                  "extensions":"ppt|pptx",
                  "args":[]
                },
        "open_automatically" : true // will close the view/tab and launch the application
      },

      //application 6
      {
        "caption": "Excel",
        "id": "side-bar-files-open-with-excel",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Office 2013\\Excel 2013.lnk", // Windows
                  "extensions":"xls|xlsx",
                  "args":[]
                },
        "open_automatically" : true // will close the view/tab and launch the application
      },

      //application 7
      {
        "caption": "WindowsPhotoViewer", // Windows 照片查看器
        "id": "side-bar-files-open-with-photoviewer",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\Windows\\System32\\rundll32.exe", // Windows
                  "extensions":"psd|png|jpg|jpeg|gif",
                  "args":["C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_Fullscreen"]
                },
        "open_automatically" : false // will close the view/tab and launch the application
      },

      //application 8
      {
        "caption": "WinRAR", // WinRAR
        "id": "side-bar-files-open-with-winrar",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\Program Files\\WinRAR\\WinRAR.exe", // Windows
                  "extensions":"zip|gz|rar|tar|iso|jar|bz2|arj|7z|cab",
                  "args":[]
                },
        "open_automatically" : true // will close the view/tab and launch the application
      },

      //application 9
      {
        "caption": "PDFReader", // PDF 阅读器
        "id": "side-bar-files-open-with-pdf",

        "command": "side_bar_files_open_with",
        "args": {
                  "paths": [],
                  "application": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Adobe Reader XI.lnk", // Windows
                  "extensions":"pdf",
                  "args":[]
                },
        "open_automatically" : true // will close the view/tab and launch the application
      },

      {"caption":"-"}
    ]
  }
]

9. BufferScroll 插件

作用: 保留折叠状态

10. GBK Support 插件

作用:支持中文

11. ConvertToUTF8 插件

作用: 解决中文乱码

12. Advanced CSV 插件

作用:查看 csv 格式文件

菜单栏的 Preferences-->Package Settings-->Advanced CSV-->Settings-User,添加以下内容:

{
       // 双击选择时,只有 "," 不被选中
       "word_separators": ","
}

13. Bracket Highlighter 插件

作用:高亮各种括号的起始和结尾

14. KeymapManager 插件

作用:快捷键管理

15. Clipboard History 插件

作用:剪切板历史记录

16. SFTP 插件

作用:直接编辑 FTP 或 SFTP 服务器上的文件

17. Alignment 插件

作用:代码对齐
例如: 存在几行代码,选中这几行代码,执行 Ctrl+Alt+A

18. PackageResourceViewer插件

作用:插件资源查看器

首先安装
命令面板中输入:Package Control: Install Package
然后输入:PackageResourceViewer (选中后回车开始安装)

使用简介
命令面板中输入:PackageResourceViewer:Open Resource
然后会列出配置文件目录。自己找要修改的东西吧

19. Cmd Caller 插件

作用:打开系统存在的软件

20. livestyle 插件

作用:允许你在Chrome里修改CSS,然后相对应的在Sublime里的CSS文件就自动更新

21. JsFormat 插件

作用:格式化当前的 js 文件 (快捷键:Ctrl+Alt+F)

22. Package Sync 插件

作用:同步你多台机器上 Sublime 的配置和安装包

23. AutoFileName 插件

作用:快速列出想要引用的文件夹里所有文件的名字

24. sublimeCodeIntel 插件

作用:支持多种语言的自动补全

你可能感兴趣的:(Sublime Text 3 插件介绍)