zoukankan      html  css  js  c++  java
  • 大爱sublime text3

    一、官网下载

    https://www.sublimetext.com/

    二、检查Package Control 是否安装

    Preferences->最下面Package Control是否有?

    如果没有:

    1、Preferences->Browse Packages

    2、返回上一级目录,查找并进入 installed package

    3、下载Package Control.sublime-package,并复制到installed package目录里,然后重启sublime

    三、用Package Control安装主题

    主题分两块

    color Scheme 和 theme

    推荐主题:

    https://github.com/itsthatguy/theme-itg-flat    //内含安装说明,利用 Package Control 安装

    四、常用配置

    Preferences->Setting-User->使用下面覆盖即可。   //Setting-Default是默认配置,不能改动

    {
        "color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme",
        "itg_small_tabs": true,
        "itg_sidebar_tree_medium": true,
        "font_size": 17,
        "highlight_line": true,
        "ignored_packages":
        [
            "Vintage"
        ],
        "line_padding_bottom": 2,
        "line_padding_top": 2,
        "open_files_in_new_window": false,
        "show_encoding": true,
        "tab_size": 4,
        "theme": "itg.flat.light.orange.sublime-theme"
    }

    五、安装常用插件

    ConvertToUTF8  : 安装很简单

    SublimeLinter  + SublimeLinter-php:要安装两个插件,如果要检测c、c++、js、css之类,还需要再安装其他的。

    SublimeLinter配置如下:

    {
        "user": {
            "debug": false,
            "delay": 0.25,
            "error_color": "D02000",
            "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
            "gutter_theme_excludes": [],
            "lint_mode": "save-only",//如果模式换成background,会不停的检测,同时下面的show_errors_on_save要设置为false
            "linters": {
                "php": {
                    "@disable": false,
                    "args": [],
                    "excludes": []
                }
            },
            "mark_style": "outline",
            "no_column_highlights_line": false,
            "passive_warnings": false,
            "paths": {
                "linux": [],
                "osx": [],
                "windows": []
            },
            "php_paths": {   //这段要自己添加
                "linux": [],
                "osx": [
                    "/usr/local/bin/php"   //必须双引号
                ],
                "windows": []    //windows下注意转义  "C:\wamp\bin\php\php5.5.12\php"
            },
            "python_paths": {
                "linux": [],
                "osx": [],
                "windows": []
            },
            "rc_search_limit": 3,
            "shell_timeout": 10,
            "show_errors_on_save": true,
            "show_marks_in_minimap": true,
            "syntax_map": {
                "html (django)": "html",
                "html (rails)": "html",
                "html 5": "html",
                "javascript (babel)": "javascript",
                "magicpython": "python",
                "php": "html",
                "python django": "python",
                "pythonimproved": "python"
            },
            "warning_color": "DDB700",
            "wrap_find": true
        }
    }

    相关链接:

    http://colorsublime.com/?q=iTg  //一个专门做sublime主题下载的网站

    http://www.imooc.com/article/1356 //讲解sublime配置比较好的

  • 相关阅读:
    mysql 15道语句练习题
    分组查询以及where和having的区别
    java初学复习
    Working with Excel Files in Python
    PIP常用命令
    pip install 提示代理连接失败原因及解决办法
    关于Encode in UTF-8 without BOM
    360极速浏览器Onetab插件存储位置
    使用夜神模拟器录制脚本
    微信小程序开发经验总结
  • 原文地址:https://www.cnblogs.com/zhongyuan/p/5584910.html
Copyright © 2011-2022 走看看