• Sublime主题


    Boxy Theme 主题比较好看(已在百度网盘)

    主题的使用

    网站查看主题 ; 使用package control中的install package搜主题名,点击安装

    安装完之后要 根据说明 复制样式 放入用户设置中

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

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

    若需要改变字体和字体大小,可以先”preferences“—>”Browse Packages“,找到”Default“文件夹,然后找到Preferences.sublime-settings这个文件,用Sublime Text 2打开这个文件,这个文件保存了一些常用的设置,然后把想要改的属性复制到用户设置里面

    sublime主题下载后放进插件包中,然后需要在 首选项 主题方案中 设置主题,这个设置一般是设置编辑区的字体的颜色等等

    侧边栏要在 首选项-用户中用代码进行设置,另外编辑区的样式也在这里设置

    "theme": "Material-Theme-Lighter.sublime-theme",

    "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Lighter.tmTheme",

    一般添加上面两个选项即可设置整个主题,注意路径是否正确

    另外一些好的配置:

    "bold_folder_labels": true, // 粗体显示文件夹名称

    "highlight_line": true // 高亮编辑中的那一行

    "save_on_focus_lost": true //焦点丢失后自动保存
    "show_encoding": true //显示当前文件的编码
    "trim_trailing_white_space_on_save": true //保存的时候把无用的空格去掉
    "tab_size": 2,  //设置会在你按Tab的时候,转成两个空格
    "translate_tabs_to_spaces": true
    "word_wrap": false  //自动换行

    "show_full_path": true,  //窗口title显示全路径

    "draw_minimap_border": true, //在编辑器右侧小代码地图上为当前区加个边框

    "always_show_minimap_viewport": true, //总是显示这个迷你地图窗口

     

    侧边栏的修改

    在用户-设置中找到当前使用的主题样式,如 "theme": "Boxy Tomorrow.sublime-theme"

    接着在插件包中找到这个主题文件 Boxy Tomorrow.sublime-theme

    直接在sublime中打开

    搜索 sidebar_label ,  "font.size": 15,   //设置侧边栏字体大小

    搜索 sidebar_tree ,   "row_padding":10, //设置行间距

     

    我的配置 用户-设置 配用boxy主题

    {
        "SublimeLinter": true,
        "always_show_minimap_viewport": true,
        "auto_complete": true,
        "auto_indent": true,
        "auto_match_enabled": true,
        "bold_folder_labels": true,
        "class": "sidebar_label",
        "color":
        [
            10,
            150,
            150
        ],
        "color_scheme": "Packages/Theme - Soda/gravity-sublime-theme-master/Monokai Gravity (SL).tmTheme",
        "content_margin":
        [
            0,
            0,
            1,
            0
        ],
        "dark_content": false,
        "draw_minimap_border": true,
        "font.bold": true,
        "font_face": "微软雅黑",
        "font_size": 13,
        "highlight_line": true,
        "ignored_packages":
        [
            "Vintage"
        ],
        "indent": 12,
        "indent_offset": 17,
        "indent_top_level": false,
        "layer0.draw_center": false,
        "layer0.inner_margin":
        [
            0,
            0,
            1,
            0
        ],
        "layer0.opacity": 1.0,
        "layer0.tint":
        [
            10,
            10,
            10
        ],
        "line_padding_bottom": 1,
        "line_padding_top": 1,
        "row_padding":
        [
            8,
            3
        ],
        "rulers":
        [
            79
        ],
        "show_full_path": true,
        "smart_indent": true,
        "sublimelinter": "save-only",
        "sublimelinter_executable_map":
        {
            "css": "C:\Program Files\nodejs\node.exe",
            "javascript": "C:\Program Files\nodejs\node.exe",
            "php": "D:/wamp/bin/php/php5.5.12"
        },
        "sublimelinter_popup_errors_on_save": true,
        "tab_size": 2,
        "theme": "Boxy Tomorrow.sublime-theme",
        "trim_automatic_white_space": true,
        "update_check": false,
        "use_tab_stops": true,
        "word_wrap": true,
        "wrap_width": 80,
        "show_encoding": true 
    }

    相关推荐阅读http://blog.csdn.net/mduanfire/article/details/51438480

  • 相关阅读:
    认识岗位-带你一起偷窥产品经理的日常
    SpringBoot单元测试踩坑
    Oracle“ORA-38104: 无法更新ON子句中引用的列”解决方式
    SXSSFWorkbook使用补充
    JAVA复制字符串并用指定字符串拼接
    一个简单for循环的时间复杂度
    SXSSFWorkbook的简单使用
    AOP行为日志
    antV G2 为柱状图添加背景颜色
    AntV G2 图表tooltip重命名
  • 原文地址:https://www.cnblogs.com/lzhlearn/p/5804723.html
Copyright © 2020-2023  润新知