sublime使用总结

系统 1627 0

1、sublime3下载

sublime3下载地址

2、设置
字体大小设置:Preferences--->设置-用户 ctrl+f(搜索)font_size
自动换行:Preferences--->设置-用户 "word_wrap": "true",

3、安装Package Control
ctrl+~ 输入
import urllib.request,os,hashlib; h = '2deb499853c4371624f5a07e27c334aa' + 'bf8c4e67d14fb0525ba4f89698a6d7e1'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
或者浏览 https://sublime.wbond.net/installation

4、安装插件
ctrl+shif+p
输入 ip

1)安装防止中文乱码插件
输入utf 选择ConvertToUTF8,安装成功后在用户设置里添加
{
// supported encoding list, name & code in pair
"encoding_list" : [
["Chinese Simplified (GBK)", "GBK"],
["Chinese Traditional (BIG5)", "BIG5"],
["Korean (EUC-KR)", "EUC-KR"],
["Japanese (CP932)", "CP932"],
["Japanese (Shift_JIS)", "Shift_JIS"],
["Japanese (EUC-JP)", "EUC-JP"],
["UTF-8", "UTF-8"]
],

// Maximum size for encoding cache, 0 means no cache
"max_cache_size" : 100,

// Maximum lines to detect, 0 means unlimited
"max_detect_lines" : 600,

// Convert when previewing file: true or false
"preview_action" : false,

// Encoding for new file, empty means using sublime text's "default_encoding" setting
"default_encoding_on_create" : "",

// Set this option to true will cause Sublime Text reload the saved file when losing focus
"lazy_reload": false,

// Convert in Find Results view
"convert_on_find": false,

// Convert when loading/saving a file
"convert_on_load" : true,
"convert_on_save" : true

}
重启即可
2)安装日期插件
ctrl+shif+p 搜索date 安装
安装成功后 ctrl+f5+f5即可显示日期
3)安装主题 Soda
4)安装emmet
……

sublime插件很多,也很酷,大家慢慢发掘吧

 

sublime使用总结


更多文章、技术交流、商务合作、联系博主

微信扫码或搜索:z360901061

微信扫一扫加我为好友

QQ号联系: 360901061

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描下面二维码支持博主2元、5元、10元、20元等您想捐的金额吧,狠狠点击下面给点支持吧,站长非常感激您!手机微信长按不能支付解决办法:请将微信支付二维码保存到相册,切换到微信,然后点击微信右上角扫一扫功能,选择支付二维码完成支付。

【本文对您有帮助就好】

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描上面二维码支持博主2元、5元、10元、自定义金额等您想捐的金额吧,站长会非常 感谢您的哦!!!

发表我的评论
最新评论 总共0条评论