markdown
安装package:
MarkdownEditing
MarkdownExtended 代码语法高亮
Monokai Extended (syntax highlighting for Markdown, LESS, HTML, Handlebars and more)
在Preference->Package Settings->Markdown Editing->Markdown GEM Setting-User
和Preference->Package Settings->Markdown Editing->Markdown (Standard) Setting-User
设置主题为MarkdownExtended
{
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme"
}
react
安装package:
babel-sublime jsx语法高亮
sublimeLinter-jsxhint jsx语法检查
修改emment
使用super+e触发 emmet
打开 preferences -> Key bindings - Users,把下面代码复制到[]内部。
{
"keys": [
"super+e"
],
"args": {
"action": "expand_abbreviation"
},
"command": "run_emmet_action",
"context": [{
"key": "emmet_action_enabled.expand_abbreviation"
}]
},
{
"keys": ["tab"],
"command": "expand_abbreviation_by_tab",
"context": [{
"operand": "source.js",
"operator": "equal",
"match_all": true,
"key": "selector"
}, {
"key": "preceding_text",
"operator": "regex_contains",
"operand": "(\\b(a\\b|div|span|p\\b|button)(\\.\\w*|>\\w*)?([^}]*?}$)?)",
"match_all": true
}, {
"key": "selection_empty",
"operator": "equal",
"operand": true,
"match_all": true
}]
}