sublime text 3 常用插件/教程/快捷键等设置方法

必备插件:

https://www.xuanfengge.com/practical-collection-of-sublime-plug-in.html

快捷键:

https://blog.csdn.net/md1688/article/details/53043525 (常用)

http://www.jb51.net/softjc/153746.html (大全)

插件安装方法:

首先安装PackageControl,推荐安装方法:Ctrl+Shift+P,然后输入Pack,找到PackageControl:Install Package,点击安装。

插件在线下载地址:https://packagecontrol.io/browse

个人常用插件:

中文汉化 ChineseLocalizations
推荐主题 Materialize
侧栏扩展 SideBarEnhancements
GBK编码兼容 ConvertToUTF8
前端神器 Emmet
JS格式化 JsFormat
快速注释 DocBlockr
文件对比 FileDiffs
快速加载文件名 AutoFileName
自动注释头部 FileHeader
FTP工具 SFTP
jQ函数提示 jQuery

个人设置:

{
    "bold_folder_labels": true,
    "color_scheme": "Packages/Materialize/schemes/Material One Dark.tmTheme",
    "font_size": 13,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "Color Scheme - Default",
        "Color Scheme - Legacy",
        "Material Theme",
        "Theme - Default",
        "Vintage"
    ],
    "line_padding_bottom": 1,
    "line_padding_top": 1,
    "material_theme_bullet_tree_indicator": true,
    "preview_on_click": false,
    "scroll_past_end": true,
    "tab_size": 2,
    "theme": "Material One Dark.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true,
    "vintage_start_in_command_mode": true,
    "word_wrap": true
}

个人快捷键设置:

[
  { "keys": ["alt+space"], "command": "auto_complete" },
  { "keys": ["alt+space"], "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 }
    ]
  },
  { "keys": ["ctrl+alt+d"], "command": "goto_definition" },
  { "keys": ["ctrl+up"], "command": "swap_line_up" },
  { "keys": ["ctrl+down"], "command": "swap_line_down" },

  { "keys": ["ctrl+shift+c"], "command": "copy_path" },
  { "keys": ["f12"], "command": "side_bar_files_open_with",
    "args": {
      "paths": [],
      "application": "D:/Program Files/Mozilla Firefox/firefox.exe",
      "extensions":".*"
    }
  },
  { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
    "args": {
      "paths": [],
      "application": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
      "extensions":".*"
    }
  },
]
原文地址:https://www.cnblogs.com/inzens/p/9055722.html