1.Package Control的安装
详情在官网上边有说明,首先百度搜索Package Control官网,我们便会出现如下的界面。点击右侧绿色的Install Now按钮,可以进入到具体的安装提示页面。
把代码复制,在sublime text中,按ctrl+`键。
在空白处粘贴。
2.插件安装详情参见博客:
https://blog.csdn.net/ivy_zw/article/details/78595131
https://blog.csdn.net/zzh_my/article/details/78735657
外观设置
// 设置Sans-serif(无衬线)等宽字体,以便阅读
"font_face": "YaHei Consolas Hybrid",
"font_size": 12,
// 使光标闪动更加柔和
"caret_style": "phase",
// 高亮当前行
"highlight_line": true,
// 高亮有修改的标签
"highlight_modified_tabs": true,
主题
第三方主题:[https://sublime.wbond.net/browse/labels/theme]点击打开链接
package control:install package
Nexus主题
theme-nexus
激活:在setting里,加
"theme": "Nexus.sublime-theme"
配色:
Preferences -> Color Scheme -> Theme - Nexus -> Nexus.
插件
1. BracketHighlighter 插件
安装方法:
1、Ctrl+Shift+P面板,安装插件BracketHighlighter
2、按preferences–>package settings–>Bracket highlighter–>把Bracket settings-Default内容复制到Bracket settings-User后,Ctrl+F 查询到“bracket_styles”,把{}中屏蔽的//都去掉,在这里解释一下,color表示的设置选中部分的颜色,把该值改为以brackethighlighter开头,style则全部改成hightlight,注意,"icon":“”后面的逗号一定加上!
修改后的代码:可以直接粘贴
"bracket_styles": {
"default": {
"icon": "dot",
"color": "brackethighlighter.default",
"style": "hightlight"
},
"unmatched": {
"icon": "question",
"color": "brackethighlighter.unmatched",
"style": "hightlight"
},
"curly": {
"icon": "curly_bracket",
"color": "brackethighlighter.curly",
"style": "hightlight"
},
"round": {
"icon": "round_bracket",
"color": "brackethighlighter.round",
"style": "hightlight"
},
"square": {
"icon": "square_bracket",
"color": "brackethighlighter.square",
"style": "hightlight"
},
"angle": {
"icon": "angle_bracket",
"color": "brackethighlighter.angle",
"style": "hightlight"
},
"tag": {
"icon": "tag",
"color": "brackethighlighter.tag",
"style": "hightlight"
},
"c_define": {
"icon": "hash",
"color": "brackethighlighter.c_define",
"style": "hightlight"
},
"single_quote": {
"icon": "single_quote",
"color": "brackethighlighter.quote",
"style": "hightlight"
},
"double_quote": {
"icon": "double_quote",
"color": "brackethighlighter.quote",
"style": "hightlight"
},
"regex": {
"icon": "regex",
"color": "brackethighlighter.quote",
"style": "hightlight"
}
}
}