Sublime Text3 常用设置和插件

本文介绍SublimeText编辑器的常用配置项,包括代码自动补全、侧边栏样式调整、字体设置等,同时推荐html-css-js-prettify插件以提高前端开发效率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

配置

用了挺久Sublime Text,今天总结下一些常用的配置,以后不用重新配置了,复制黏贴即可。

先来个带注释的版本,最下边有直接复制黏贴的

{
    //代码自动补全
    "auto_complete": true,
    "auto_match_enabled": true,
    //侧边栏文件夹加粗
    "bold_folder_labels": true,
    //代码颜色主题
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    //应该是右侧小地图
    "draw_minimap_border": true,
    //字体字号
    "font_face": "YaHei Consolas Hybrid",
    "font_size": 13,
    //选中行高亮
    "highlight_line": true,
    //忽略vim模式
    "ignored_packages":
    [
        "Vintage"
    ],
    //取消单击预览,防止打开b文件覆盖a文件
    "preview_on_click": false,
    //每行最大80字符线
    "rulers":
    [
        80
    ],
    //显示文件编码
    "show_encoding": true,
    //tab设置
    "tab_size": 2,
    "translate_tabs_to_spaces": true,
    //保存时去掉文件尾部空行
    "trim_trailing_white_space_on_save": true,
    //强制换行
    "word_wrap": false
}
{
    "auto_complete": true,
    "auto_match_enabled": true,
    "bold_folder_labels": true,
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "draw_minimap_border": true,
    "font_face": "YaHei Consolas Hybrid",
    "font_size": 13,
    "highlight_line": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "preview_on_click": false,
    "rulers":
    [
        80
    ],
    "show_encoding": true,
    "tab_size": 2,
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true,
    "word_wrap": false
}

插件

html-css-js-prettify

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值