Sublime Text 3 安装与配置

1.下载:

http://www.sublimetext.com/3

2.支持网站

https://packagecontrol.io/

3.字体、主题风格等设置

当需要更改主题时,直接可以通过“preferences”—>“颜色主题”来设置,

  查找函数:ctrl+r  

  gotoanything: ctrl+p

4.package Control安装

安装网址:https://packagecontrol.io/installation

安装完毕之后重启sublime,如果发现在Perferences中看到package control这一项,则安装成功。

  然后就可以通过”Ctrl+Shift+P“打开命令面板,输入”install“命令,就可以看到安装包列表了。

5.几款必备的常用插件:

a.Tag插件

  Tag插件可以为web开发者提供html和css标签,很方便快捷,对于web前端设计者非常实用

  代码格式化:按Ctrl+Alt+F对代码进行格式化

b.代码提示插件(SublimeCodeIntel)

  参考:http://zodiacg.net/2013/01/sublime-text-2_code_intel/

c.Sublime Text Snippets(代码片段)功能

  snippets 代码片段插件 ,在tools-snippets菜单下可以查看当前页面支持的snippets,可以在缩略词后加tab自动补全snippets, snippets也可以从安装插件进行扩展.参考:www.bluesdream.com/blog/sublime-text-snippets-function.html

  后缀必须是

.sublime-snippet

 d.ConvertToUTF8

  Sublime text 默认不支持GBK编码,可以通过安装插件来完美解决这个问题

4.Emmet

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

参考网站:www.5imb.com/show-83-6364-1.html

简单配置文件:

{
    "font_size": 15,
    "ignored_packages":
    [
        "Vintage"
    ],
    "word_wrap": true
}

 consola字体下载

 http://files.cnblogs.com/files/suihui/consola.rar

http://www.cnblogs.com/bananaplan/p/sublime-text-3-powerful.html

原文地址:https://www.cnblogs.com/suihui/p/4319691.html