1. SmartMarkdown 插件
作用:MD文件編寫(xiě)簡(jiǎn)單補(bǔ)全
2. MarkDown Preview 插件
作用:MD文件預(yù)覽
3. Markdown to Clipboard 插件
作用:文檔內(nèi)鼠標(biāo)右鍵復(fù)制MD轉(zhuǎn)化為HTML后的代碼
4. Terminal 插件
作用:終端命令窗口
快捷鍵:Ctrl+Shift+t
5. INI 插件
(查看 ini 格式文件)
1.打開(kāi) Sublime Text
2.找到菜單欄的 Preferences, 點(diǎn)擊 "Browse Packages..."
3.在打開(kāi)的目錄中添加一個(gè)名為“INI”的文件夾
4.下載 https://github.com/clintberry/sublime-text-2-ini/archive/master.zip
5.解壓后安接,將解壓后的文件拷貝到 INI 文件夾中(注:不要有sublime-text-2-ini-master目錄)
6.菜單欄的 View-->Syntax 中就出現(xiàn)了 INI(支持 INI 語(yǔ)法高亮支持)
6. SqlBeautifier 插件
(格式化SQL語(yǔ)句)
更改 SqlBeautifier 默認(rèn)的快捷鍵命令:
1惩阶、點(diǎn)擊 Preference->Key Bindings
2樟蠕、在彈出窗口右側(cè)(User)升敲, 添加以下內(nèi)容:
{"keys":["ctrl+alt+s"],"command":"sql_beautifier"}
7. Pretty JSON 插件
(支持 json 文件)
更改 Pretty JSON 默認(rèn)的快捷鍵命令:
1、點(diǎn)擊 Preference->Key Bindings
2济锄、在彈出窗口右側(cè)(User), 添加以下內(nèi)容:
{ "keys": [ "ctrl+alt+j" ], "command": "pretty_json" },
{ "keys": [ "ctrl+alt+j", "ctrl+alt+u"], "command": "un_pretty_json" }
8. SideBarEnhancements 插件
作用:側(cè)欄右鍵功能增強(qiáng)
更改快捷鍵命令:
1催训、點(diǎn)擊 Preference->Key Bindings
2、在彈出窗口右側(cè)(User)宗收, 添加以下內(nèi)容:
// 打開(kāi) Word 2013
{
"keys": ["ctrl+alt+shift+w"],
"command": "side_bar_files_open_with",
"args": {
// 在 C:\\Windows\\sublime 中, 創(chuàng)建一個(gè) test.pptx 文件 (若不存在 sublime 文件夾漫拭,需要?jiǎng)?chuàng)建)
"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":[]
}
},
// 打開(kāi) PowerPoint 2013
{
"keys": ["ctrl+alt+shift+p"],
"command": "side_bar_files_open_with",
"args": {
// 在 C:\\Windows\\sublime 中, 創(chuàng)建一個(gè) test.pptx 文件 (若不存在 sublime 文件夾,需要?jiǎng)?chuàng)建)
"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":[]
}
},
// 打開(kāi) Excel 2013
{
"keys": ["ctrl+alt+shift+e"],
"command": "side_bar_files_open_with",
"args": {
// 在 C:\\Windows\\sublime 中, 創(chuàng)建一個(gè) test.xlsx 文件 (若不存在 sublime 文件夾混稽,需要?jiǎng)?chuàng)建)
"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":[]
}
},
// 打開(kāi) 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":[]
}
},
// 打開(kāi) 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采驻、 在左側(cè)邊欄,任選一個(gè)文件荚坞,點(diǎn)擊"右鍵", 選擇"Open With"->"Edit Applications", 在打開(kāi)的文件中挑宠,將下面的內(nèi)容覆蓋原有的內(nèi)容:
2、 需要更改相應(yīng)軟件的執(zhí)行程序路徑(更改 "application" 參數(shù))
[
{"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 插件
作用: 保留折疊狀態(tài)
10. GBK Support 插件
作用:支持中文
11. ConvertToUTF8 插件
作用: 解決中文亂碼
12. Advanced CSV 插件
作用:查看 csv 格式文件
菜單欄的 Preferences-->Package Settings-->Advanced CSV-->Settings-User颓影,添加以下內(nèi)容:
{
// 雙擊選擇時(shí)各淀,只有 "," 不被選中
"word_separators": ","
}
13. Bracket Highlighter 插件
作用:高亮各種括號(hào)的起始和結(jié)尾
14. KeymapManager 插件
作用:快捷鍵管理
15. Clipboard History 插件
作用:剪切板歷史記錄
16. SFTP 插件
作用:直接編輯 FTP 或 SFTP 服務(wù)器上的文件
17. Alignment 插件
作用:代碼對(duì)齊
例如: 存在幾行代碼,選中這幾行代碼诡挂,執(zhí)行 Ctrl+Alt+A
18. PackageResourceViewer插件
作用:插件資源查看器
首先安裝
命令面板中輸入:Package Control: Install Package
然后輸入:PackageResourceViewer (選中后回車(chē)開(kāi)始安裝)
使用簡(jiǎn)介
命令面板中輸入:PackageResourceViewer:Open Resource
然后會(huì)列出配置文件目錄碎浇。自己找要修改的東西吧
19. Cmd Caller 插件
作用:打開(kāi)系統(tǒng)存在的軟件
20. livestyle 插件
作用:允許你在Chrome里修改CSS,然后相對(duì)應(yīng)的在Sublime里的CSS文件就自動(dòng)更新
21. JsFormat 插件
作用:格式化當(dāng)前的 js 文件 (快捷鍵:Ctrl+Alt+F)
22. Package Sync 插件
作用:同步你多臺(tái)機(jī)器上 Sublime 的配置和安裝包
23. AutoFileName 插件
作用:快速列出想要引用的文件夾里所有文件的名字
24. sublimeCodeIntel 插件
作用:支持多種語(yǔ)言的自動(dòng)補(bǔ)全