資源簡介
Sublime Text 3 增強版:1) 完全被漢化破解; 2) 解決sublime中文亂碼問題; 3) 已經安裝了下列插件,這些插件將使得您編寫HTML、CSS、JavaScript、jQuery如虎添翼: 4) 調整了軟件的新建文檔默認語法為html5)皮膚主題: 1、Spacegra 2、Numix 3、Brogrammer-------------------------------------------- 在Sublime的基礎上增加了部分功能: 1、 新建文件模板(支持html、html5、css、js、php等) 2、 快速生成html文檔 3、 設置默認瀏覽器打開 4、 sublime右鍵瀏覽器打開 5、 系統(tǒng)鼠標右鍵以sublime打開文 件 6、 側邊欄右鍵功能加強 7、 語法加亮 8、 Javsscript和jquery智能提示 9、 HTML代碼格式化 10、CSS代碼格式化 11、emmet快速書寫代碼 12、支持轉換多種編碼 13、增強創(chuàng)建文件 默認快捷鍵 ctrl+alt+N 14、自動補全文件(目錄)名 15、背景顯示CSS 英文和16進制顏色 16、生成注釋模板 17、集成了強大的調色盤 18、代碼錯誤提示 19、支持Javascript、JQuery、Bootstrap、HTML5標簽屬性提示 20、快捷刪除不必要的空白 21、壓縮css代碼 快捷鍵:Ctrl+Shift+Alt+M 22、壓縮js代碼 快捷鍵:Ctrl+Shift+Alt+M 23、代碼格式的自動對齊 24、高亮顯示多余的空格和Tab 25、文件對比 26、迅捷面板快速選擇主題 27、增強Sublime針對CSS的錯誤高亮 28、CSS3 私有前綴自動補全插件(需要安裝nodejs) 29、右鍵快速新建任何語言格式文件 30、可以在狀態(tài)欄顯示出當前光標處于哪個函數(shù)中 31、配合Chrome 瀏覽器實現(xiàn)高效可視化開發(fā),無刷新同步修改預覽 32、加入了HTML5元素提示 33、安裝了bootstrap 34、支持移動開發(fā)框架jquery mobile 35、在狀態(tài)欄顯示系統(tǒng)時間 36、在狀態(tài)欄顯示最后修改時間,編碼,文件大小等 37、單詞量實時計算,在狀態(tài)欄顯示 38、支持多種編碼保存
代碼片段和文件信息
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
KEEP_OPEN_ON_FOCUS_LOST?=?2
HTML?=?1
COOPERATE_WITH_AUTO_COMPLETE?=?2
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
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?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?“““
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-03?15:57??Sublime增強版\
?????文件???????25425??2016-05-12?11:47??Sublime增強版\changelog.txt
?????文件??????178800??2016-05-13?10:27??Sublime增強版\crash_reporter.exe
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\Actionsc
?????文件????????7012??2016-07-20?12:02??Sublime增強版\Data\Cache\Actionsc
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\AngularJS\
?????文件????????1215??2016-06-22?16:13??Sublime增強版\Data\Cache\AngularJS\AngularJS.tmLanguage.cache
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\Applesc
?????文件????????8792??2016-07-20?12:02??Sublime增強版\Data\Cache\Applesc
?????文件????????7664??2016-06-29?16:55??Sublime增強版\Data\Cache\Applesc
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\ASP\
?????文件????????2674??2016-07-20?12:02??Sublime增強版\Data\Cache\ASP\ASP.sublime-syntax.cache
?????文件?????????290??2016-07-20?12:02??Sublime增強版\Data\Cache\ASP\HTML-ASP.sublime-syntax.cache
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\Batch?File\
?????文件????????2969??2016-07-20?12:02??Sublime增強版\Data\Cache\Batch?File\Batch?File.sublime-syntax.cache
?????文件????????4159??2016-06-24?15:10??Sublime增強版\Data\Cache\Batch?File\Batch?File.sublime-syntax.rcache
?????文件?????????817??2016-06-28?14:24??Sublime增強版\Data\Cache\Batch?File\Batch?File.tmLanguage.cache
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\Better?ja
?????文件????????4973??2016-07-20?15:20??Sublime增強版\Data\Cache\Better?ja
?????文件????????1140??2016-07-20?15:20??Sublime增強版\Data\Cache\Better?ja
?????文件????????1916??2016-07-20?15:20??Sublime增強版\Data\Cache\Better?ja
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\C#\
?????文件?????????584??2016-07-20?12:02??Sublime增強版\Data\Cache\C#\Build.sublime-syntax.cache
?????文件????????2993??2016-07-20?12:02??Sublime增強版\Data\Cache\C#\C#.sublime-syntax.cache
?????目錄???????????0??2016-07-20?15:25??Sublime增強版\Data\Cache\C++\
?????文件???????12737??2016-07-20?12:02??Sublime增強版\Data\Cache\C++\C++.sublime-syntax.cache
?????文件????????1879??2016-06-29?16:55??Sublime增強版\Data\Cache\C++\C++.tmLanguage.cache
?????文件???????10670??2016-07-20?12:02??Sublime增強版\Data\Cache\C++\C.sublime-syntax.cache
?????文件????????4905??2016-06-29?16:55??Sublime增強版\Data\Cache\C++\C.tmLanguage.cache
............此處省略4104個文件信息
評論
共有 條評論