资源简介
已经装好了多种插件,可以解析各种配置文件,如nginx配置文件等,代码追踪,高亮
代码片段和文件信息
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-04-13 16:18 Sublime Text\
文件 851 2018-05-14 12:40 Sublime Text\!添加∕删除右键菜单.bat
文件 108032 2015-03-18 13:49 Sublime Text\_ctypes.pyd
文件 242176 2015-03-18 13:49 Sublime Text\_decimal.pyd
文件 166912 2015-03-18 13:49 Sublime Text\_elementtree.pyd
文件 1065472 2015-03-18 13:49 Sublime Text\_hashlib.pyd
文件 64000 2015-03-18 13:49 Sublime Text\_msi.pyd
文件 14336 2015-03-18 13:49 Sublime Text\_multiprocessing.pyd
文件 51200 2015-03-18 13:49 Sublime Text\_socket.pyd
文件 1710080 2015-03-18 13:49 Sublime Text\_ssl.pyd
文件 47997 2018-05-14 09:18 Sublime Text\changelog.txt
文件 224880 2018-05-14 09:32 Sublime Text\crash_reporter.exe
目录 0 2019-04-13 16:24 Sublime Text\Data\
目录 0 2019-04-13 16:18 Sublime Text\Data\Cache\
目录 0 2019-04-13 16:18 Sublime Text\Data\Cache\Actionsc
文件 7046 2018-05-24 19:44 Sublime Text\Data\Cache\Actionsc
目录 0 2019-04-13 16:18 Sublime Text\Data\Cache\Agila-Theme\
文件 1858 2019-04-13 05:28 Sublime Text\Data\Cache\Agila-Theme\Agila Classic Oceanic Next.tmTheme.cache
文件 2666 2019-04-13 05:28 Sublime Text\Data\Cache\Agila-Theme\Agila Cobalt.tmTheme.cache
文件 1431 2019-04-13 05:28 Sublime Text\Data\Cache\Agila-Theme\Agila Dracula.tmTheme.cache
文件 3187 2019-04-13 05:29 Sublime Text\Data\Cache\Agila-Theme\Agila Light Solarized.tmTheme.cache
文件 4452 2019-04-13 05:29 Sublime Text\Data\Cache\Agila-Theme\Agila Monokai Extended.tmTheme.cache
文件 4604 2019-04-13 05:29 Sublime Text\Data\Cache\Agila-Theme\Agila Neon Monocyanide.tmTheme.cache
文件 1858 2019-04-13 05:29 Sublime Text\Data\Cache\Agila-Theme\Agila Oceanic Next.tmTheme.cache
文件 1852 2019-04-13 05:29 Sublime Text\Data\Cache\Agila-Theme\Agila Origin Oceanic Next.tmTheme.cache
目录 0 2019-04-13 16:18 Sublime Text\Data\Cache\Agila-Theme\Markdown\
文件 1833 2019-04-13 05:29 Sublime Text\Data\Cache\Agila-Theme\Markdown\Classic Oceanic Next Markdown.tmTheme.cache
目录 0 2019-04-13 16:18 Sublime Text\Data\Cache\Applesc
文件 8934 2018-05-24 19:44 Sublime Text\Data\Cache\Applesc
目录 0 2019-04-13 16:18 Sublime Text\Data\Cache\ASP\
文件 7254 2018-05-24 19:44 Sublime Text\Data\Cache\ASP\ASP.sublime-syntax.cache
............此处省略4029个文件信息
- 上一篇:gradle-4.10.2-all
- 下一篇:UniFlash 4.4.0烧录软件
相关资源
- sublime Text
- JS代码高亮插件SyntaxHighlighter
- Protobuf.Syntax.Hightlighting.v2.0.0.sublime-p
- Gojs设备线路高亮Demo
- visual studio 2017 Monokai字体
- sublime text 3 的 ctags.exe ctags的windows命令
- SublimeServer
- sublime编辑器 4种护眼主题
- pycharm各种主题包括仿sublime的monokai主
- sublimeREPL
- Sublime Text3插件 SideBarEnhancements汉化版
-
sublime xm
l插件 - GVIM中高亮log文件的语法配置
- ListView搜索关键字高亮显示
- Sublime仿HBuilder绿柔主题
- Sublime豆沙绿护眼主题
- 使用activiti工作流引擎显示流程图时高
- AsmHighLighter For VS2015
- sublime markdown 插件
- OneNote2016代码高亮HighLight插件
- sublime verilog插件
- 15个Codeblocks高亮主题
- SublimeText3带全插件版和纯净版.txt
- sublime text3高效率编辑verilog插件合集
- Activiti6-流程跟踪监控图-节点-流程线
- sublime插件必需文件channel_v3.json
- ConvertToUTF8.zip
- Unity3d Shader代码提示加高亮 一键安装
- ultraedit (UE) MASM汇编语法高亮文件
- SublimeText3PackageControl安装包
评论
共有 条评论