【Sublime】配置 package config

2019-07-08  本文已影响0人  大Q本Q

emmet :快速写html

jsFormate

LESS

alignment :等号对齐

Bracket Highilghter :代码起始、结束匹配(不ming'xian)

Git

jquery

DocBlockr :注释

ColorPicker :色板;command+shift+c

AutoFileName :自动补全

Nodejs :node代码提示

Trailing spaces :一建去除多余空格

fileDiffs :代码对比,右键标签页,选择文件对比

gitGutter :指示当前插入、修改、删除的地方

HTLM5

CSS3

sublimeTmpl :文件模板(未完成)

CSScomb :css排序

ctags :跳转函数定义

Vue Syntax Highlight :vue语法高亮

Pretty JSON :json格式化

snippet :小程序

wxapp :小程序高亮、提示,比snippet好

Sublimerge :git merge

以下不用安装

SyncedSideBar :侧边栏打开当前文件,右键Reveal in Side Bar,


[

// 选择粘贴

{ "keys": ["command+shift+v"], "command": "paste_from_history" },

// 整行上移、下移

{ "keys": ["command+up"], "command": "swap_line_up" },

{ "keys": ["command+down"], "command": "swap_line_down" },

// 选中一个单词

{ "keys": ["command+left"], "command": "move", "args": {"by": "subwords", "forward": false} },

{ "keys": ["command+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },

{ "keys": ["command+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },

{ "keys": ["command+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} },

// 展开(加号/等号),折叠(减号),折叠1级、2级、3级标签

{ "keys": ["super+equals"], "command": "unfold" },

{ "keys": ["super+plus"], "command": "unfold" },

{ "keys": ["super+minus"], "command": "fold" },

{ "keys": ["super+0"], "command": "fold_by_level", "args": {"level": 1} },

{ "keys": ["super+9"], "command": "fold_by_level", "args": {"level": 2} },

{ "keys": ["super+8"], "command": "fold_by_level", "args": {"level": 2} },

// 格式化:等号对齐、 js、 css

{ "keys": ["command+l"], "command": "alignment" },

{ "keys": ["command+shift+l"], "command": "js_format" },

{ "keys": ["command+control+l"], "command": "css_comb" },

{ "keys": ["command+option+l"], "command": "htmlprettify" },

// 删除多余空格

{ "keys": ["command+d"], "command": "delete_trailing_spaces" },

// 打开关闭侧边栏

{ "keys": ["command+k"], "command": "toggle_side_bar" },

// 新建文件 command+num; vue0, js9, html8, css7

{ "keys": ["command+shift+0"], "command": "sublime_tmpl", "args": {"type": "vue"}, "context": [{"key": "sublime_tmpl.vue"}]},

{ "keys": ["command+shift+9"], "command": "sublime_tmpl", "args": {"type": "js"}, "context": [{"key": "sublime_tmpl.js"}]},

{ "keys": ["command+shift+7"], "command": "sublime_tmpl","args": {"type": "css"}, "context": [{"key": "sublime_tmpl.css"}]},

{ "keys": ["command+shift+8"], "command": "sublime_tmpl","args": {"type": "html"}, "context": [{"key": "sublime_tmpl.html"}]},

]
上一篇下一篇

猜你喜欢

热点阅读