博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
sublime Text使用技巧及常用插件
阅读量:6735 次
发布时间:2019-06-25

本文共 3466 字,大约阅读时间需要 11 分钟。

语法:

http://docs.emmet.io/cheat-sheet/

http://www.iteye.com/news/27580

http://www.w3cplus.com/tools/emmet-cheat-sheet.html

//安装Packgae Control://Ctrl+`  :import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
//快捷键映射[    {"keys": ["enter"], "command": "move", "args": {"by": "characters", "forward": true}, "context":        [            { "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]\\>\\'\\\"\\ %>\\}\\;\\,]", "match_all": true },            { "key": "preceding_text", "operator": "not_regex_match", "operand": "^.*\\{$", "match_all": true  },            { "key": "auto_complete_visible", "operator": "equal", "operand": false }        ]    },   //以下为Trailing Space插件 一键删除多余空格    { "keys":["ctrl+alt+d"], "command":"delete_trailing_spaces"}, { "keys":["ctrl+alt+o"], "command":"toggle_trailing_spaces"} ]
//Setting-user

"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",

"default_line_ending": "unix",
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true,
"tab_size": 4,
"theme": "SoDaReloaded Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"word_separators": "./\\()\"':,.;<>~!@#$%^&*|+=[]{}`~?",
"jsdocs_extend_double_slash": false
}

 
//常用插件EmmetTheme - SoDaReloaded//代码风格{    "theme": "SoDaReloaded Dark.sublime-theme"}SideBarEnhancements//侧栏右键功能增强SublimeTmpl //快速创建文件类型autoFileName// 自动提示urlHtml-css-javascript-prettify //格式化代码AlignTab //对齐AutoFileName //自动补全urlTrailing  Space //高亮显示多余空格Goto-CSS-Declaration //定位到css定义 SublimeLinter SublimeLinter-jshint //需要npm install jshint -g //jshint@2.5.0以上
//括号高亮显示插件 Bracket HighLighter//在Bracket setting - user中设置{    "bracket_styles": {        "default": {            "icon": "dot",            // "color": "entity.name.class",            "color": "brackethighlighter.default",            "style": "highlight"        },        "unmatched": {            "icon": "question",            "color": "brackethighlighter.unmatched",            "style": "highlight"        },        "curly": {            "icon": "curly_bracket",            "color": "brackethighlighter.curly",            "style": "highlight"        },        "round": {            "icon": "round_bracket",            "color": "brackethighlighter.round",            "style": "highlight"        },        "square": {            "icon": "square_bracket",            "color": "brackethighlighter.square",            "style": "highlight"        },        "angle": {            "icon": "angle_bracket",            "color": "brackethighlighter.angle",            "style": "highlight"        },        "tag": {            "icon": "tag",            "color": "brackethighlighter.tag",            "style": "highlight"        },        "single_quote": {            "icon": "single_quote",            "color": "brackethighlighter.quote",            "style": "highlight"        },        "double_quote": {            "icon": "double_quote",            "color": "brackethighlighter.quote",            "style": "highlight"        },        "regex": {            "icon": "regex",            "color": "brackethighlighter.quote",            "style": "outline"        }    }}

 

转载于:https://www.cnblogs.com/jeanchueng/p/5610273.html

你可能感兴趣的文章
Java经典设计模式(1):五大创建型模式(附实例和详解)
查看>>
Vue源码探究-数据绑定的实现
查看>>
【九】MongoDB管理之安全性
查看>>
Java课堂动手动脑--方法
查看>>
原创博文《arduino入门》预告
查看>>
Android一个小巧的记录app(便签或者日记 随心)
查看>>
基于色彩恒常( color constancy)特性的Frankle-McCann Retinex图像增强。
查看>>
jquery的checkbox 全选和全不选
查看>>
CSS学习网址
查看>>
(转载)GC调用时机,特殊内存回收时机,及调试时强制GC
查看>>
java 实验二 输出hello world
查看>>
js获取文件后缀
查看>>
leetcode167
查看>>
Notepad++编译c++时使用的代码
查看>>
基于excel9.h的excel处理
查看>>
分布式任务调度系统xxl-job搭建
查看>>
通过修改Host实现chrome同步
查看>>
ASP.NET Core 中文文档 第四章 MVC(2.1)模型绑定
查看>>
C# 关键字---virtual
查看>>
使用 IDEA 创建 Maven Web 项目 (三)- 编写一个简单的 WEB 应用
查看>>