sublime

可自用,可参考,欢迎大家补充!

修改点

伪・镜像服务器

PC

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

User配置

有屏蔽升级,设置代理的功能,不用的直接删除!

{
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme-OceanicNext.tmTheme",
    "font_face": "Ubuntu Mono derivative Powerline",
    "font_size": 16,
    "http_proxy": "http://10.16.13.18:8888",
    "https_proxy": "http://10.16.13.18:8888",
    "ignored_packages": [
        "Vintage"
    ],
    "show_encoding": true,
    "theme": "Material-Theme.sublime-theme",
    "update_check": false,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
}

插件

Go​Sublime

Tools->Build System->New Build System

{
    "shell_cmd": "go run $file",
    "encoding": "utf-8"
}

Encoding​Helper Pretty JSON Ctrl+Alt+J BracketHighlighter Trail­ing­Spaces Alignment Ctrl+Alt+A Side​Bar​Enhancements Php​Doc /** DocBlockr Phpcs sublime-php-namespace Git Git Gutter VCS Gutter HTML-CSS-JS Prettify SqlBeautifier ctrl+k Terminal nginx nginx语法高亮 ApacheConf.tmLanguage INI Markdown Extended Dockerfile Syntax Highlighting

主题

Material Theme Theme - Cobalt​2 Hero Theme

标签: theme, plugin, config, sublime

已有 3 条评论

  1. 这个学php时候经常用,很酷,不过还没学多少就不学了..

  2. 老高用php做倒计时怎么弄?~只要年月日

    1. 用php很简单的,但我觉得还不如用js

    2. 嘻~我想弄个中考倒计时插件 js根本不会了,php只会做短期,长期脑子转不来..~

添加新评论