资源简介
sublime text 3的32位和64位中文版,最基本的插件都已经安装上了,直接解压完打开就可以使用,关于sublime text 3的技巧以及使用在这里就不多说了,用过的都说好用,最有意思的是写html,无论从界面还是从提示,都是杠杠的
自己辛辛苦苦的配置了好久,希望大家喜欢
代码片段和文件信息
import sys
import sublime_api
class _LogWriter:
def flush(self):
pass
def write(self s):
sublime_api.log_message(s)
sys.stdout = _LogWriter()
sys.stderr = _LogWriter()
HOVER_TEXT = 1
HOVER_GUTTER = 2
HOVER_MARGIN = 3
ENCODED_POSITION = 1
TRANSIENT = 4
FORCE_GROUP = 8
IGNORECASE = 2
LITERAL = 1
MONOSPACE_FONT = 1
KEEP_OPEN_ON_FOCUS_LOST = 2
HTML = 1
COOPERATE_WITH_AUTO_COMPLETE = 2
HIDE_ON_MOUSE_MOVE = 4
HIDE_ON_MOUSE_MOVE_AWAY = 8
DRAW_EMPTY = 1
HIDE_ON_MINIMAP = 2
DRAW_EMPTY_AS_OVERWRITE = 4
PERSISTENT = 16
# Deprecated use DRAW_NO_FILL instead
DRAW_OUTLINED = 32
DRAW_NO_FILL = 32
DRAW_NO_OUTLINE = 256
DRAW_SOLID_UNDERLINE = 512
DRAW_STIPPLED_UNDERLINE = 1024
DRAW_SQUIGGLY_UNDERLINE = 2048
HIDDEN = 128
OP_EQUAL = 0
OP_NOT_EQUAL = 1
OP_REGEX_MATCH = 2
OP_NOT_REGEX_MATCH = 3
OP_REGEX_CONTAINS = 4
OP_NOT_REGEX_CONTAINS = 5
CLASS_WORD_START = 1
CLASS_WORD_END = 2
CLASS_PUNCTUATION_START = 4
CLASS_PUNCTUATION_END = 8
CLASS_SUB_WORD_START = 16
CLASS_SUB_WORD_END = 32
CLASS_LINE_START = 64
CLASS_LINE_END = 128
CLASS_EMPTY_LINE = 256
INHIBIT_WORD_COMPLETIONS = 8
INHIBIT_EXPLICIT_COMPLETIONS = 16
DIALOG_CANCEL = 0
DIALOG_YES = 1
DIALOG_NO = 2
UI_ELEMENT_SIDE_BAR = 1
UI_ELEMENT_MINIMAP = 2
UI_ELEMENT_TABS = 4
UI_ELEMENT_STATUS_BAR = 8
UI_ELEMENT_MENU = 16
UI_ELEMENT_OPEN_FILES = 32
LAYOUT_INLINE = 0
LAYOUT_BELOW = 1
LAYOUT_BLOCK = 2
def version():
return sublime_api.version()
def platform():
return sublime_api.platform()
def arch():
return sublime_api.architecture()
def channel():
return sublime_api.channel()
def executable_path():
return sublime_api.executable_path()
def executable_hash():
import hashlib
return (
version() platform() + ‘_‘ + arch()
hashlib.md5(open(executable_path() ‘rb‘).read()).hexdigest())
def packages_path():
return sublime_api.packages_path()
def installed_packages_path():
return sublime_api.installed_packages_path()
def cache_path():
“““ Returns the path where Sublime Text stores cache files “““
return sublime_api.cache_path()
def status_message(msg):
sublime_api.status_message(msg)
def error_message(msg):
sublime_api.error_message(msg)
def message_dialog(msg):
sublime_api.message_dialog(msg)
def ok_cancel_dialog(msg ok_title=““):
return sublime_api.ok_cancel_dialog(msg ok_title)
def yes_no_cancel_dialog(msg yes_title=““ no_title=““):
return sublime_api.yes_no_cancel_dialog(msg yes_title no_title)
def run_command(cmd args=None):
sublime_api.run_command(cmd args)
def get_clipboard(size_limit=16777216):
“““
Returns the content of the clipboard for performance reason if the size
of the clipboard content is bigger than size_limit an empty string will be
returned
“““
return sublime_api.get_clipboard(size_limit)
def set_clipboard(text):
return sublime_api.set_clipboard(text)
def log_commands(flag):
sublime_api.log_commands(flag)
def lo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 30118 2016-09-23 20:12 SublimeText 3\Sublime Text 3.3126x64\changelog.txt
文件 190064 2016-09-23 20:24 SublimeText 3\Sublime Text 3.3126x64\crash_reporter.exe
文件 2480 2015-05-13 15:24 SublimeText 3\Sublime Text 3.3126x64\Data\Installed Packages\All Autocomplete.sublime-package
文件 39020 2015-05-13 15:26 SublimeText 3\Sublime Text 3.3126x64\Data\Installed Packages\DocBlockr.sublime-package
文件 28411 2015-05-13 15:24 SublimeText 3\Sublime Text 3.3126x64\Data\Installed Packages\Git.sublime-package
文件 50649 2015-05-13 15:24 SublimeText 3\Sublime Text 3.3126x64\Data\Installed Packages\GitGutter.sublime-package
文件 1244829 2015-05-13 15:26 SublimeText 3\Sublime Text 3.3126x64\Data\Installed Packages\Markdown Preview.sublime-package
文件 0 2015-03-26 18:23 SublimeText 3\Sublime Text 3.3126x64\Data\KEEPME
文件 421 2016-02-25 09:11 SublimeText 3\Sublime Text 3.3126x64\Data\Local\License.sublime_license
文件 2701 2015-05-13 15:27 SublimeText 3\Sublime Text 3.3126x64\Data\Local\Session.sublime_session
文件 5 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\.gitignore
文件 0 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\.no-sublime-package
文件 59 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\ColorPicker.sublime-commands
文件 240 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\ColorPicker.sublime-settings
文件 59 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\Default (Linux).sublime-keymap
文件 61 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\Default (OSX).sublime-keymap
文件 61 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\Default (Windows).sublime-keymap
文件 946 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\lib\linux_colorpicker.py
文件 47864 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\lib\osx_colorpicker
文件 86016 2015-06-06 06:30 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\lib\win_colorpicker.exe
文件 1250 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\Main.sublime-menu
文件 123 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\package-me
文件 2402 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\README.md
文件 13310 2015-05-13 15:25 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ColorPicker\sublimecp.py
文件 9 2014-07-21 23:27 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ConvertToUTF8\.gitignore
文件 5 2014-07-21 23:27 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ConvertToUTF8\.no-sublime-package
文件 82594 2014-07-21 23:27 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ConvertToUTF8\chardet\big5freq.py
文件 1684 2014-07-21 23:27 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ConvertToUTF8\chardet\big5prober.py
文件 9152 2014-07-21 23:27 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ConvertToUTF8\chardet\chardistribution.py
文件 3791 2014-07-21 23:27 SublimeText 3\Sublime Text 3.3126x64\Data\Packages\ConvertToUTF8\chardet\charsetgroupprober.py
............此处省略3374个文件信息
评论
共有 条评论