-
大小: 51.72MB文件类型: .zip金币: 2下载: 1 次发布日期: 2022-07-08
- 语言: JavaScript
- 标签: sublime text
资源简介
sublime text 3插件包是一款为文本编辑器提供的插件工具包,包含的插件有:
AndyJS2、BracketHighlighter、emmet-sublime、flatland、IMESupport、jQuery、JsFormat、Package Control、predawn、PyV8、SideBarEnhancements-st3、sublime_alignment、SublimeCodeIntel。
代码片段和文件信息
import sublime_api
import sys
class _LogWriter:
def flush(self):
pass
def write(self s):
sublime_api.log_message(s)
sys.stdout = _LogWriter()
sys.stderr = _LogWriter()
ENCODED_POSITION = 1
TRANSIENT = 4
FORCE_GROUP = 8
IGNORECASE = 2
LITERAL = 1
MONOSPACE_FONT = 1
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
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 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 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 log_input(flag):
“““ Enables or disables input logging. This is useful to find the names of certain keys on the keyboard “““
sublime_api.log_input(flag)
def log_result_regex(flag):
“““ Enables or disables result regex logging. This is useful when trying to debug file_regex and line_regex in build systems “““
sublime_api.log_result_regex(flag)
def log_indexing(flag):
sublime_api.log_indexing(flag)
def score_selector(scope_name selector):
return sublime_api.score_selector(scope_name selector)
def load_resource(name):
s = sublime_api.load_resou
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8842 2014-05-05 12:37 changelog.txt
文件 160512 2014-05-05 12:37 crash_reporter.exe
文件 315392 2009-07-10 06:05 ctags.exe
目录 0 2014-06-24 18:54 Data\
目录 0 2014-09-12 08:44 Data\Backup\
目录 0 2014-07-01 08:57 Data\Backup\20140701085720\
目录 0 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\
文件 189 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\.editorconfig
文件 12 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\.gitattributes
文件 316 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\.jshintrc
文件 0 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\.no-sublime-package
文件 542 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\autoprefixer.js
文件 1514 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\Autoprefixer.py
文件 63 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\Autoprefixer.sublime-commands
文件 37 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\Autoprefixer.sublime-settings
文件 587 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\Main.sublime-menu
文件 777 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_bridge.py
目录 0 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\
目录 0 2014-06-20 14:36 Data\Backup\20140701085720\Autoprefixer\node_modules\.bin\
文件 32 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\.bin\autoprefixer
目录 0 2014-06-21 19:52 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\
目录 0 2014-06-20 14:36 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\bin\
文件 216 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\bin\autoprefixer
文件 11364 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\ChangeLog.md
目录 0 2014-06-20 14:36 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\data\
文件 1772 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\data\browsers.js
文件 9304 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\data\prefixes.js
目录 0 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\lib\
文件 3135 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\lib\autoprefixer.js
文件 11486 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\lib\binary.js
文件 5523 2014-06-25 08:28 Data\Backup\20140701085720\Autoprefixer\node_modules\autoprefixer\lib\browsers.js
............此处省略7304个文件信息
相关资源
- sublime 插件包 channel_v3.json
- Sublime-Better-Completion-master插件
- packagecontrol.io/channel_v3.json
- sublime text channel_v3.json
- textareatextbox高亮关键字
- SublimeCodeIntel 包含.codeintel文件夹,无
- Jquery实现记事本功能
- sublime text channel_v3.json
- 3种网页右键菜单演示(ContextMenu)
- textSlider多行文字滚动jQuery插件
- 文字字体大小自适应浏览器窗口大小
- textarea根据内容自动延伸,不显示滚动
- Jquery 实现textarea placeholder 多行效果
评论
共有 条评论