Sublime美化配置

1.主题预览

material主题:https://equinsuocha.io/material-theme/#/default
162508-20180515161618333-1241455694.png

2.效果预览

162508-20180515161500944-536172641.png

{
    "ignored_packages":
    [
        "Vintage"
    ],
    "indent_guide_options":
    [
        "draw_normal",
        "draw_active"
    ],
    // fonts
    "font_options": [
        "gray_antialias",
        "subpixel_antialias"
    ],
    "font_size": 14,
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "always_show_minimap_viewport" : true,
    "bold_folder_labels"           : true,
    "font_options"                 : ["gray_antialias", "subpixel_antialias"], // On retina Mac & Windows
    "indent_guide_options"         : ["draw_normal", "draw_active"], // Highlight active indent
    "line_padding_bottom"          : 3,
    "line_padding_top"             : 3,
    "overlay_scroll_bars"          : "enabled",
    // Themes
    "theme": "Material-Theme.sublime-theme",
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
    "material_theme_arrow_folders": true,
    // Panels
    "material_theme_accent_scrollbars": true, // Enable accent color for scrollbars
    "material_theme_accent_titlebar": true, // Enable accent color for titlebar
    "material_theme_bright_scrollbars": true, // Bright scrollbars puck color
    "material_theme_compact_panel": true, // Set minimal padding for the search panel
    "material_theme_contrast_mode": true, // Enable sidebar and panels contrast mode
    "material_theme_panel_separator": true, // Show bottom panel separator
    "material_theme_small_statusbar": true, // Set small status bar
    "material_theme_titlebar": true, // Enable title bar (OS X 10.10+)

    // Sidebar
    "material_theme_arrow_folders": true, // Replace folder icons with arrows
    "material_theme_big_fileicons": true, // Show bigger file type icons
    "material_theme_bullet_tree_indicator": true, // Set a bullet as active tree indicator
    "material_theme_compact_sidebar": true, // Set compact sidebar
    "material_theme_disable_fileicons": true, // Hide sidebar file type icons
    "material_theme_disable_folder_animation": true, // Disable folder animation
    "material_theme_disable_tree_indicator": true, // Disable sidebar file indicator
    
    // Tabs
    "material_theme_bold_tab": true, // Make the tab labels bolder
    "material_theme_small_tab": true, // Set small tabs
    "material_theme_tabs_autowidth": true, // Enable autowidth for tabs
    "material_theme_tabs_separator": true, // Show tabs separator, this disables tab hover animation

    // If you use Material Theme - Appbar addon, you can use this setting:
    "material_theme_tree_headings": true, // Show sidebar headings

}

转载于:https://www.cnblogs.com/ae6623/p/9041508.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Sublime Text是一款流行的轻量级文本编辑器,以其简洁高效的界面和强大的插件系统而闻名。如果你想美化代码Sublime Text可以通过以下几个步骤来提升代码可读性和风格: 1. **选择合适的主题**:安装并启用预设的主题或自定义主题,如Monokai、Material等,这些主题会影响代码的颜色方案和字体样式,让代码看起来更加美观。 2. **安装代码高亮插件**:例如Package Control中的ColorPicker插件,可以帮助你调整不同语言的语法高亮颜色,确保代码关键字、注释和常量突出显示清晰。 3. **自动格式化工具**:使用插件如Prettier或Code formatter,可以一键应用代码规范,保持代码风格统一。 4. **代码缩进和间距设置**:在Preferences - User中配置缩进和空格数量,确保代码的对齐整齐。 5. **代码折叠**:对于大型项目,Code folding插件可以帮助隐藏不必要的细节,只展示关键部分,提高阅读效率。 6. **代码提示和文档插入**:一些插件如DocBlockr可以提供代码注释生成和引用功能,使代码更具文档性。 7. **定制快捷键**:根据个人习惯,创建快捷键用于常见的代码操作,如搜索、替换、格式化等,提高编码速度。 8. **版本控制集成**:虽然不是直接美化代码,但Sublime Text与其他版本控制系统(如Git)的良好整合能让代码管理更有序,间接地提升代码质量。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值