From ee336ef78f97f51b9b9e6ee29c1e060e057bab43 Mon Sep 17 00:00:00 2001 From: rexdf Date: Wed, 15 Apr 2015 12:18:02 +0800 Subject: [PATCH 01/14] fix sublime text 2 --- Main.sublime-menu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.sublime-menu b/Main.sublime-menu index 76da554..53f17fc 100755 --- a/Main.sublime-menu +++ b/Main.sublime-menu @@ -36,6 +36,6 @@ "mnemonic": "L" } ], - "id": "help", + "id": "help" } ] \ No newline at end of file From 8cea847ad0ed923e2fd70a7f08c21b230630a468 Mon Sep 17 00:00:00 2001 From: rexdf Date: Wed, 15 Apr 2015 12:25:14 +0800 Subject: [PATCH 02/14] fix sublime text 2 --- Localization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Localization.py b/Localization.py index 8619d54..b36f29f 100755 --- a/Localization.py +++ b/Localization.py @@ -60,8 +60,8 @@ def set_language(lang): os.mkdir(DEFAULT_PATH) # Load binary resource PACKAGE_NAME = os.path.basename(os.path.dirname(__file__)).split('.')[0] - LOCALZIP_RES = "Packages/{}/{}".format(PACKAGE_NAME, - LANGS[lang]['zipfile']) + LOCALZIP_RES = "Packages/{0}/{1}".format(PACKAGE_NAME, + LANGS[lang]['zipfile']) lang_bytes = sublime.load_binary_resource(LOCALZIP_RES) # write to tempfile and unzip it. import zipfile From f91ec2f16c450f8da53ba84f85755456d146226e Mon Sep 17 00:00:00 2001 From: rexdf Date: Wed, 15 Apr 2015 12:30:37 +0800 Subject: [PATCH 03/14] fix sublime text 2 --- Localization.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Localization.py b/Localization.py index b36f29f..fa2734f 100755 --- a/Localization.py +++ b/Localization.py @@ -62,7 +62,13 @@ def set_language(lang): PACKAGE_NAME = os.path.basename(os.path.dirname(__file__)).split('.')[0] LOCALZIP_RES = "Packages/{0}/{1}".format(PACKAGE_NAME, LANGS[lang]['zipfile']) - lang_bytes = sublime.load_binary_resource(LOCALZIP_RES) + try: + lang_bytes = sublime.load_binary_resource(LOCALZIP_RES) + except Exception: + LOCALZIP_RES = os.path.join(os.path.dirname(__file__), + LANGS[lang]['zipfile']) + with open(LOCALZIP_RES, "rb") as f: + lang_bytes = f.read() # write to tempfile and unzip it. import zipfile from tempfile import NamedTemporaryFile From 3cd99d1062bd21588bed5d8e61354e85d8788376 Mon Sep 17 00:00:00 2001 From: rexdf Date: Wed, 15 Apr 2015 12:34:12 +0800 Subject: [PATCH 04/14] fix sublime text 2 --- Localization.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Localization.py b/Localization.py index fa2734f..1721702 100755 --- a/Localization.py +++ b/Localization.py @@ -65,8 +65,9 @@ def set_language(lang): try: lang_bytes = sublime.load_binary_resource(LOCALZIP_RES) except Exception: - LOCALZIP_RES = os.path.join(os.path.dirname(__file__), - LANGS[lang]['zipfile']) + # Sublime Text 2 + LOCALZIP_RES = os.path.abspath(os.path.join(os.path.dirname(__file__), + LANGS[lang]['zipfile'])) with open(LOCALZIP_RES, "rb") as f: lang_bytes = f.read() # write to tempfile and unzip it. From cb9072fcc260786936b2c827f088d085b7aa8354 Mon Sep 17 00:00:00 2001 From: rexdf Date: Wed, 15 Apr 2015 13:13:06 +0800 Subject: [PATCH 05/14] fix sublime text 2 menu items --- EN.zip | Bin 9400 -> 9396 bytes Localization.py | 19 +++++++++++++++---- ZH_CN.zip | Bin 10681 -> 10678 bytes ZH_TW.zip | Bin 10696 -> 10693 bytes 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/EN.zip b/EN.zip index e831229e1f602169c80b8ed0af8f06a36146ee70..e70b3e75b76241a0876b88f6eb8e1f3cab32e17c 100755 GIT binary patch delta 5926 zcmV+>7uo2zNwi6@U;zzzXpcsXr6NUI761SSlWhSSe_e9hIJSPzDlocv=&o{NOR{Vw zPuF(r#4~p6w(QANIW87OLKfQ;$ss{Yo-S3*9%c`-uvy8)4@r?ANCFZl`%bDW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^ffV55Pw&s4-cR&?@29u^>Gdk&b9zf*9g*TG zeDxz`<>g%HYW zCs#}BwIcnq-Vp}n3$-knKwC1@?)Ry6W+Kv7oBSXA@;-gi<=3n}9^o^2?Lf7y{RKXQ zW5=^AHnEWE)$OB1&LynmU8;ZgKfU%Pe^u2r4LY=mf97{GIj3(+nRHa;q3ni;9Pb6L zGU-R3ZPVB$_8T1V7z`pI=QRn{{u;ZBN9Yr44i`|>S!t29Mnu!LJ%RNVx`Ak< z__aDxoR^|+GenHT;vxk3O`s79KJV@>m&>#zk}VY5n)ZBIOaczdLeQFj+5;nW(t)V002{YZggRI zlaV1IlYSyP2NN0q090XOlMx#glb#_IljtHk0`VG?2^$@go*@*IRU 2 + def get_language_setting(): config = sublime.load_settings(CONFIG_NAME) @@ -67,7 +70,7 @@ def set_language(lang): except Exception: # Sublime Text 2 LOCALZIP_RES = os.path.abspath(os.path.join(os.path.dirname(__file__), - LANGS[lang]['zipfile'])) + LANGS[lang]['zipfile'])) with open(LOCALZIP_RES, "rb") as f: lang_bytes = f.read() # write to tempfile and unzip it. @@ -76,8 +79,13 @@ def set_language(lang): tmp_file = NamedTemporaryFile(delete=False) tmp_file.write(lang_bytes) tmp_file.close() - with zipfile.ZipFile(tmp_file.name, "r") as f: - f.extractall(DEFAULT_PATH) + if is_python3: + with zipfile.ZipFile(tmp_file.name, "r") as f: + f.extractall(DEFAULT_PATH) + else: + import contextlib + with contextlib.closing(zipfile.ZipFile(tmp_file.name, "r")) as f: + f.extractall(DEFAULT_PATH) tmp_file.close() os.unlink(tmp_file.name) @@ -94,4 +102,7 @@ def is_checked(self, language): def plugin_loaded(): """Load and unzip the files.""" - sublime.set_timeout(init, 200) \ No newline at end of file + sublime.set_timeout(init, 200) + +if not is_python3: + init() \ No newline at end of file diff --git a/ZH_CN.zip b/ZH_CN.zip index b4ae3eca52ff5fff22bdc3d156c974ef7d3b67bd..f27c0d5399c76da721ba216962f6417f3fe9a8c0 100755 GIT binary patch delta 2985 zcm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pl*@85lT-7+_h$2Q5txmFDus4xF>>XO zr>#q0tl0gut?T)sJ%syJ;Kfx?BQd&EpxztAtS9>yK5JaBM4@*}3sOL*+dy_#-^K9B4g(^b E08AU^1^@s6 From bcbf79c94c7c431346dcacf8209845083cc2d373 Mon Sep 17 00:00:00 2001 From: rexdf Date: Thu, 16 Apr 2015 12:55:01 +0800 Subject: [PATCH 06/14] fix Indentation tab translation and use orginal st2 english menu --- EN.zip | Bin 9396 -> 7886 bytes ZH_CN.zip | Bin 10678 -> 9793 bytes ZH_TW.zip | Bin 10693 -> 10694 bytes 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/EN.zip b/EN.zip index e70b3e75b76241a0876b88f6eb8e1f3cab32e17c..967bd44b1f666e0e9e9fb2e9f7f3367dd7ea221e 100755 GIT binary patch literal 7886 zcma)>1yB_1x5jtrR63=*RT}B8rMnmD25A8aQCNEEZV)6S6_5sHS-QJRP^4o4x%ho| z?x%mhd*|-X*>`q!XMX2A@7ZT&&(TmpMj-+K02lzLkE@b>W-*MFckkGd004@+Q{LXi ziq_tRR^Hyp`Wg2#FH0wTXKOBJYZtG|_)e^@hj_BzZy;r0|&A$m&e8?kH*zVY(okA)Y`9*4I)&?10` z(4$+>Qb8;hj^DmVrESm*e!BS?m+EnKaRb>AaKB1Coa)Bc-n}i$>n(dd-Pi?O$S!|B zxG07Fde|ts`|MlNyM~%Ku;LfcWt_uUzttN#349RygQuHmP=l-}QjPy9lB^L+f`7)N znFU>ZDp~2Z6xd7pdgj89V{#9UU5WS zpu4IwOmQ2};d+^ag)I`99=B4Ie32t(ntET%L6WhVQ?qyth_c7Yp=e||q|1y(J7P5j zqBwjuRgA-KOq*yGU1`PT9FA!?+Ki2yKDoO;+guY@>u?C{OSH4TZRvMMG#pxxAs=KFIVenV`yj1u;+eCmNg z^|Vz_CCNAT^Ty?8q(~9evrwXqq=LOXAJ-V{+*;Cu>J2^E}HIn%r`gu$Sv*AJdbO&O`3sn8pEoMVzWOq zJe{u19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Xlwa0=y_-Y=+Fc=-+%?i}Uz`zBBGAs-XlT|@H09;Ea5dZ)H From 57101b8bdf27ec611ff62969527840f0d508bde9 Mon Sep 17 00:00:00 2001 From: rexdf Date: Thu, 16 Apr 2015 13:00:25 +0800 Subject: [PATCH 07/14] new branch for st2 dev --- EN/Context.sublime-menu | 13 + EN/Find in Files.sublime-menu | 8 + EN/Indentation.sublime-menu | 17 + EN/Main.sublime-menu | 809 +++++++++++++++++++++ EN/Side Bar Mount Point.sublime-menu | 4 + EN/Side Bar.sublime-menu | 11 + EN/Syntax.sublime-menu | 6 + EN/Tab Context.sublime-menu | 8 + EN/Widget Context.sublime-menu | 7 + ZH_CN/Context.sublime-menu | 16 + ZH_CN/Find in Files.sublime-menu | 9 + ZH_CN/Indentation.sublime-menu | 17 + ZH_CN/Main.sublime-menu | 888 ++++++++++++++++++++++++ ZH_CN/Side Bar Mount Point.sublime-menu | 4 + ZH_CN/Side Bar.sublime-menu | 11 + ZH_CN/Syntax.sublime-menu | 6 + ZH_CN/Tab Context.sublime-menu | 8 + ZH_CN/Widget Context.sublime-menu | 7 + ZH_TW/Context.sublime-menu | 16 + ZH_TW/Encoding.sublime-menu | 83 +++ ZH_TW/Find in Files.sublime-menu | 9 + ZH_TW/Indentation.sublime-menu | 17 + ZH_TW/Main.sublime-menu | 888 ++++++++++++++++++++++++ ZH_TW/Side Bar Mount Point.sublime-menu | 4 + ZH_TW/Side Bar.sublime-menu | 11 + ZH_TW/Syntax.sublime-menu | 6 + ZH_TW/Tab Context.sublime-menu | 8 + ZH_TW/Widget Context.sublime-menu | 7 + 28 files changed, 2898 insertions(+) create mode 100755 EN/Context.sublime-menu create mode 100755 EN/Find in Files.sublime-menu create mode 100755 EN/Indentation.sublime-menu create mode 100755 EN/Main.sublime-menu create mode 100755 EN/Side Bar Mount Point.sublime-menu create mode 100755 EN/Side Bar.sublime-menu create mode 100755 EN/Syntax.sublime-menu create mode 100755 EN/Tab Context.sublime-menu create mode 100755 EN/Widget Context.sublime-menu create mode 100755 ZH_CN/Context.sublime-menu create mode 100755 ZH_CN/Find in Files.sublime-menu create mode 100755 ZH_CN/Indentation.sublime-menu create mode 100755 ZH_CN/Main.sublime-menu create mode 100755 ZH_CN/Side Bar Mount Point.sublime-menu create mode 100755 ZH_CN/Side Bar.sublime-menu create mode 100755 ZH_CN/Syntax.sublime-menu create mode 100755 ZH_CN/Tab Context.sublime-menu create mode 100755 ZH_CN/Widget Context.sublime-menu create mode 100755 ZH_TW/Context.sublime-menu create mode 100755 ZH_TW/Encoding.sublime-menu create mode 100755 ZH_TW/Find in Files.sublime-menu create mode 100755 ZH_TW/Indentation.sublime-menu create mode 100755 ZH_TW/Main.sublime-menu create mode 100755 ZH_TW/Side Bar Mount Point.sublime-menu create mode 100755 ZH_TW/Side Bar.sublime-menu create mode 100755 ZH_TW/Syntax.sublime-menu create mode 100755 ZH_TW/Tab Context.sublime-menu create mode 100755 ZH_TW/Widget Context.sublime-menu diff --git a/EN/Context.sublime-menu b/EN/Context.sublime-menu new file mode 100755 index 0000000..61a9de2 --- /dev/null +++ b/EN/Context.sublime-menu @@ -0,0 +1,13 @@ +[ + { "command": "copy" }, + { "command": "cut" }, + { "command": "paste" }, + { "caption": "-", "id": "selection" }, + { "command": "select_all" }, + { "caption": "-", "id": "file" }, + { "command": "open_in_browser", "caption": "Open in Browser" }, + { "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "Open Containing Folder…" }, + { "command": "copy_path", "caption": "Copy File Path" }, + { "command": "reveal_in_side_bar", "caption": "Reveal in Side Bar" }, + { "caption": "-", "id": "end" } +] diff --git a/EN/Find in Files.sublime-menu b/EN/Find in Files.sublime-menu new file mode 100755 index 0000000..2101553 --- /dev/null +++ b/EN/Find in Files.sublime-menu @@ -0,0 +1,8 @@ +[ + { "command": "clear_location", "caption": "Clear" }, + { "command": "add_directory", "caption": "Add Folder" }, + { "command": "add_where_snippet", "args": {"snippet": "*.${0:txt}"}, "caption": "Add Include Filter" }, + { "command": "add_where_snippet", "args": {"snippet": "-*.${0:txt}"}, "caption": "Add Exclude Filter" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "Add Open Folders" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "Add Open Files" } +] diff --git a/EN/Indentation.sublime-menu b/EN/Indentation.sublime-menu new file mode 100755 index 0000000..9c49375 --- /dev/null +++ b/EN/Indentation.sublime-menu @@ -0,0 +1,17 @@ +[ +{ "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "Indent Using Spaces", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "Tab Width: 1", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "Tab Width: 2", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "Tab Width: 3", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "Tab Width: 4", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "Tab Width: 5", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "Tab Width: 6", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "Tab Width: 7", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "Tab Width: 8", "checkbox": true }, + { "caption": "-" }, + { "command": "detect_indentation", "caption": "Guess Settings From Buffer" }, + { "caption": "-" }, + { "command": "expand_tabs", "caption": "Convert Indentation to Spaces", "args": {"set_translate_tabs": true} }, + { "command": "unexpand_tabs", "caption": "Convert Indentation to Tabs", "args": {"set_translate_tabs": true} } + ] diff --git a/EN/Main.sublime-menu b/EN/Main.sublime-menu new file mode 100755 index 0000000..459abe7 --- /dev/null +++ b/EN/Main.sublime-menu @@ -0,0 +1,809 @@ +[ + { + "caption": "File", + "mnemonic": "F", + "id": "file", + "children": + [ + { "command": "new_file", "caption": "New File", "mnemonic": "N" }, + + { "command": "prompt_open_file", "caption": "Open File…", "mnemonic": "O", "platform": "!OSX" }, + { "command": "prompt_open_folder", "caption": "Open Folder…", "platform": "!OSX" }, + { "command": "prompt_open", "caption": "Open…", "platform": "OSX" }, + + { + "caption": "Open Recent", + "mnemonic": "R", + "children": + [ + { "command": "reopen_last_file", "caption": "Reopen Closed File" }, + { "caption": "-" }, + { "command": "open_recent_file", "args": {"index": 0 } }, + { "command": "open_recent_file", "args": {"index": 1 } }, + { "command": "open_recent_file", "args": {"index": 2 } }, + { "command": "open_recent_file", "args": {"index": 3 } }, + { "command": "open_recent_file", "args": {"index": 4 } }, + { "command": "open_recent_file", "args": {"index": 5 } }, + { "command": "open_recent_file", "args": {"index": 6 } }, + { "command": "open_recent_file", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "open_recent_folder", "args": {"index": 0 } }, + { "command": "open_recent_folder", "args": {"index": 1 } }, + { "command": "open_recent_folder", "args": {"index": 2 } }, + { "command": "open_recent_folder", "args": {"index": 3 } }, + { "command": "open_recent_folder", "args": {"index": 4 } }, + { "command": "open_recent_folder", "args": {"index": 5 } }, + { "command": "open_recent_folder", "args": {"index": 6 } }, + { "command": "open_recent_folder", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "clear_recent_files", "caption": "Clear Items" } + ] + }, + { + "caption": "Reopen with Encoding", + "children": + [ + { "caption": "UTF-8", "command": "reopen", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-16 LE", "command": "reopen", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 BE", "command": "reopen", "args": {"encoding": "utf-16 be" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "reopen", "args": {"encoding": "Hexadecimal" } } + ] + }, + { "command": "clone_file", "caption": "New View into File", "mnemonic": "e" }, + { "command": "save", "caption": "Save", "mnemonic": "S" }, + { + "caption": "Save with Encoding", + "children": + [ + { "caption": "UTF-8", "command": "save", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-8 with BOM", "command": "save", "args": {"encoding": "utf-8 with bom" } }, + { "caption": "UTF-16 LE", "command": "save", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 LE with BOM", "command": "save", "args": {"encoding": "utf-16 le with bom" } }, + { "caption": "UTF-16 BE", "command": "save", "args": {"encoding": "utf-16 be" } }, + { "caption": "UTF-16 BE with BOM", "command": "save", "args": {"encoding": "utf-16 be with bom" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "save", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "save", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "save", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "save", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "save", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "save", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "save", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "save", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "save", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "save", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "save", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "save", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "save", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "save", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "save", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "save", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "save", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "save", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "save", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "save", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "save", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "save", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "save", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "save", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "save", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "save", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "save", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "save", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "save", "args": {"encoding": "Hexadecimal" } } + ] + }, + { "command": "prompt_save_as", "caption": "Save As…", "mnemonic": "A" }, + { "command": "save_all", "caption": "Save All", "mnemonic": "l" }, + { "caption": "-", "id": "window" }, + { "command": "new_window", "caption": "New Window", "mnemonic": "W" }, + { "command": "close_window", "caption": "Close Window" }, + { "caption": "-", "id": "close" }, + { "command": "close", "caption": "Close File", "mnemonic": "C" }, + { "command": "revert", "caption": "Revert File", "mnemonic": "v" }, + { "command": "close_all", "caption": "Close All Files" }, + { "caption": "-", "id": "exit" }, + { "command": "exit", "mnemonic": "x" } + ] + }, + { + "caption": "Edit", + "mnemonic": "E", + "id": "edit", + "children": + [ + { "command": "undo", "mnemonic": "U" }, + { "command": "redo_or_repeat", "mnemonic": "R" }, + { + "caption": "Undo Selection", + "children": + [ + { "command": "soft_undo" }, + { "command": "soft_redo" } + ] + }, + { "caption": "-", "id": "clipboard" }, + { "command": "copy", "mnemonic": "C" }, + { "command": "cut", "mnemonic": "n" }, + { "command": "paste", "mnemonic": "P" }, + { "command": "paste_and_indent", "mnemonic": "I" }, + { "caption": "-" }, + { + "caption": "Line", "mnemonic": "L", + "id": "line", + "children": + [ + { "command": "indent" }, + { "command": "unindent" }, + { "command": "reindent", "args": {"single_line": true} }, + { "command": "swap_line_up" }, + { "command": "swap_line_down" }, + { "command": "duplicate_line" }, + { "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"}, "caption": "Delete Line" }, + { "command": "join_lines" } + ] + }, + { + "caption": "Comment", "mnemonic": "m", + "id": "comment", + "children": + [ + { "command": "toggle_comment", "args": {"block": false}, "caption": "Toggle Comment" }, + { "command": "toggle_comment", "args": {"block": true}, "caption": "Toggle Block Comment" } + ] + }, + { + "caption": "Text", "mnemonic": "T", + "id": "text", + "children": + [ + { "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line Before.sublime-macro"}, "caption": "Insert Line Before" }, + { "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"}, "caption": "Insert Line After" }, + { "caption": "-" }, + { "command": "delete_word", "args": { "forward": true }, "caption": "Delete Word Forward" }, + { "command": "delete_word", "args": { "forward": false }, "caption": "Delete Word Backward" }, + { "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"}, "caption": "Delete Line" }, + { "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard EOL.sublime-macro"}, "caption": "Delete to End" }, + { "command": "run_macro_file", "args": {"file": "Packages/Default/Delete to Hard BOL.sublime-macro"}, "caption": "Delete to Beginning" }, + { "caption": "-" }, + { "command": "transpose" } + ] + }, + { + "caption": "Tag", + "id": "tag", + "children": + [ + { "command": "close_tag" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "Expand Selection to Tag" }, + { "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" }, "caption": "Wrap Selection With Tag" } + ] + }, + { + "caption": "Mark", + "id": "mark", + "children": + [ + { "command": "set_mark" }, + { "command": "select_to_mark" }, + { "command": "delete_to_mark" }, + { "command": "swap_with_mark" }, + { "command": "clear_bookmarks", "args": {"name": "mark"}, "caption": "Clear Mark" }, + { "caption": "-" }, + { "command": "yank" } + ] + }, + { + "caption": "Code Folding", + "id": "fold", + "children": + [ + { "command": "fold" }, + { "command": "unfold" }, + { "command": "unfold_all", "caption": "Unfold All" }, + { "caption": "-" }, + { "caption": "Fold All", "command": "fold_by_level", "args": {"level": 1} }, + { "caption": "Fold Level 2", "command": "fold_by_level", "args": {"level": 2} }, + { "caption": "Fold Level 3", "command": "fold_by_level", "args": {"level": 3} }, + { "caption": "Fold Level 4", "command": "fold_by_level", "args": {"level": 4} }, + { "caption": "Fold Level 5", "command": "fold_by_level", "args": {"level": 5} }, + { "caption": "Fold Level 6", "command": "fold_by_level", "args": {"level": 6} }, + { "caption": "Fold Level 7", "command": "fold_by_level", "args": {"level": 7} }, + { "caption": "Fold Level 8", "command": "fold_by_level", "args": {"level": 8} }, + { "caption": "Fold Level 9", "command": "fold_by_level", "args": {"level": 9} }, + { "caption": "-" }, + { "command": "fold_tag_attributes", "caption": "Fold Tag Attributes" } + ] + }, + { + "caption": "Convert Case", "mnemonic": "a", + "id": "convert_case", + "children": + [ + { "command": "title_case", "caption": "Title Case" }, + { "command": "upper_case", "caption": "Upper Case" }, + { "command": "lower_case", "caption": "Lower Case" }, + { "command": "swap_case", "caption": "Swap Case" } + ] + }, + { + "caption": "Wrap", + "id": "wrap", + "children": + [ + { "command": "wrap_lines", "caption": "Wrap Paragraph at Ruler" }, + { "command": "wrap_lines", "args": {"width": 70}, "caption": "Wrap paragraph at 70 characters" }, + { "command": "wrap_lines", "args": {"width": 78}, "caption": "Wrap paragraph at 78 characters" }, + { "command": "wrap_lines", "args": {"width": 80}, "caption": "Wrap paragraph at 80 characters" }, + { "command": "wrap_lines", "args": {"width": 100}, "caption": "Wrap paragraph at 100 characters" }, + { "command": "wrap_lines", "args": {"width": 120}, "caption": "Wrap paragraph at 120 characters" } + ] + }, + { "command": "auto_complete", "caption": "Show Completions" }, + { "caption": "-", "id": "permute" }, + + { "command": "sort_lines", "args": {"case_sensitive": false}, "caption": "Sort Lines", "mnemonic": "S" }, + { "command": "sort_lines", "args": {"case_sensitive": true}, "caption": "Sort Lines (Case Sensitive)" }, + { + "caption": "Permute Lines", + "children": + [ + { "command": "permute_lines", "args": {"operation": "reverse"}, "caption": "Reverse" }, + { "command": "permute_lines", "args": {"operation": "unique"}, "caption": "Unique" }, + { "command": "permute_lines", "args": {"operation": "shuffle"}, "caption": "Shuffle" } + ] + }, + { + "caption": "Permute Selections", + "children": + [ + { "command": "sort_selection", "args": {"case_sensitive": false}, "caption": "Sort" }, + { "command": "sort_selection", "args": {"case_sensitive": true}, "caption": "Sort (Case Sensitive)" }, + { "command": "permute_selection", "args": {"operation": "reverse"}, "caption": "Reverse" }, + { "command": "permute_selection", "args": {"operation": "unique"}, "caption": "Unique" }, + { "command": "permute_selection", "args": {"operation": "shuffle"}, "caption": "Shuffle" } + ] + }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "Selection", + "mnemonic": "S", + "id": "selection", + "children": + [ + { "command": "split_selection_into_lines", "caption": "Split into Lines" }, + { "command": "select_lines", "args": {"forward": false}, "caption": "Add Previous Line" }, + { "command": "select_lines", "args": {"forward": true}, "caption": "Add Next Line" }, + { "command": "single_selection" }, + { "caption": "-" }, + { "command": "select_all" }, + { "command": "expand_selection", "args": {"to": "line"}, "caption": "Expand Selection to Line" }, + { "command": "find_under_expand", "caption": "Expand Selection to Word" }, + { "command": "expand_selection_to_paragraph", "caption": "Expand Selection to Paragraph" }, + { "command": "expand_selection", "args": {"to": "scope"}, "caption": "Expand Selection to Scope" }, + { "command": "expand_selection", "args": {"to": "brackets"}, "caption": "Expand Selection to Brackets" }, + { "command": "expand_selection", "args": {"to": "indentation"}, "caption": "Expand Selection to Indentation" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "Expand Selection to Tag" } + ] + }, + { + "caption": "Find", + "mnemonic": "i", + "id": "find", + "children": + [ + { "command": "show_panel", "args": {"panel": "find"}, "caption": "Find…" }, + { "command": "find_next" }, + { "command": "find_prev", "caption": "Find Previous" }, + { "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false}, "caption": "Incremental Find" }, + { "caption": "-" }, + { "command": "show_panel", "args": {"panel": "replace"}, "caption": "Replace…" }, + { "command": "replace_next" }, + { "caption": "-" }, + { "command": "find_under", "caption": "Quick Find" }, + { "command": "find_all_under", "caption": "Quick Find All" }, + { "command": "find_under_expand", "caption": "Quick Add Next" }, + { "command": "find_under_expand_skip", "caption": "Quick Skip Next", "platform": "!OSX" }, + { "caption": "-" }, + { "command": "slurp_find_string", "caption": "Use Selection for Find" }, + { "command": "slurp_replace_string", "caption": "Use Selection for Replace" }, + { "caption": "-" }, + { "command": "show_panel", "args": {"panel": "find_in_files"}, "caption": "Find in Files…" }, + { + "caption": "Find Results", + "mnemonic": "R", + "children": + [ + { "command": "show_panel", "args": {"panel": "output.find_results"}, "caption": "Show Results Panel" }, + { "command": "next_result" }, + { "command": "prev_result", "caption": "Previous Result" } + ] + } + ] + }, + { + "caption": "View", + "mnemonic": "V", + "id": "view", + "children": + [ + { + "caption": "Side Bar", + "id": "side_bar", + "children": + [ + { "command": "toggle_side_bar" }, + { "caption": "-" }, + { "command": "toggle_show_open_files" } + ] + }, + { "command": "toggle_minimap" }, + { "command": "toggle_tabs" }, + { "command": "toggle_status_bar" }, + { "command": "toggle_menu" }, + { "command": "show_panel", "args": {"panel": "console", "toggle": true} }, + { "caption": "-", "id": "full_screen" }, + { "command": "toggle_full_screen" }, + { "command": "toggle_distraction_free" }, + { "caption": "-", "id": "groups" }, + { + "caption": "Layout", + "mnemonic": "L", + "id": "layout", + "children": + [ + { + "caption": "Single", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1]] + } + }, + { + "caption": "Columns: 2", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.5, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1]] + } + }, + { + "caption": "Columns: 3", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.33, 0.66, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]] + } + }, + { + "caption": "Columns: 4", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.25, 0.5, 0.75, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]] + } + }, + { + "caption": "Rows: 2", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 0.5, 1.0], + "cells": [[0, 0, 1, 1], [0, 1, 1, 2]] + } + }, + { + "caption": "Rows: 3", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 0.33, 0.66, 1.0], + "cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]] + } + }, + { + "caption": "Grid: 4", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.5, 1.0], + "rows": [0.0, 0.5, 1.0], + "cells": + [ + [0, 0, 1, 1], [1, 0, 2, 1], + [0, 1, 1, 2], [1, 1, 2, 2] + ] + } + } + ] + }, + { + "caption": "Focus Group", + "mnemonic": "F", + "children": + [ + { "command": "focus_group", "args": {"group": 0}, "caption": "Group 1" }, + { "command": "focus_group", "args": {"group": 1}, "caption": "Group 2" }, + { "command": "focus_group", "args": {"group": 2}, "caption": "Group 3" }, + { "command": "focus_group", "args": {"group": 3}, "caption": "Group 4" } + ] + }, + { + "caption": "Move File To Group", + "mnemonic": "M", + "children": + [ + { "command": "move_to_group", "args": {"group": 0}, "caption": "Group 1" }, + { "command": "move_to_group", "args": {"group": 1}, "caption": "Group 2" }, + { "command": "move_to_group", "args": {"group": 2}, "caption": "Group 3" }, + { "command": "move_to_group", "args": {"group": 3}, "caption": "Group 4" } + ] + }, + { "caption": "-" }, + { + "caption": "Syntax", + "mnemonic": "S", + "id": "syntax", + "children": [ { "command": "$file_types" } ] + }, + { + "caption": "Indentation", + "mnemonic": "I", + "id": "indentation", + "children": + [ + { "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "Indent Using Spaces", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "Tab Width: 1", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "Tab Width: 2", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "Tab Width: 3", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "Tab Width: 4", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "Tab Width: 5", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "Tab Width: 6", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "Tab Width: 7", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "Tab Width: 8", "checkbox": true }, + { "caption": "-" }, + { "command": "detect_indentation", "caption": "Guess Settings From Buffer" }, + { "caption": "-" }, + { "command": "expand_tabs", "caption": "Convert Indentation to Spaces", "args": {"set_translate_tabs": true} }, + { "command": "unexpand_tabs", "caption": "Convert Indentation to Tabs", "args": {"set_translate_tabs": true} } + ] + }, + { + "caption": "Line Endings", + "mnemonic": "n", + "id": "line_endings", + "children": + [ + { "command": "set_line_ending", "args": {"type": "windows"}, "caption": "Windows", "checkbox": true }, + { "command": "set_line_ending", "args": {"type": "unix"}, "caption": "Unix", "checkbox": true }, + { "command": "set_line_ending", "args": {"type": "cr"}, "caption": "Mac OS 9", "checkbox": true } + ] + }, + { "caption": "-", "id": "settings" }, + { "command": "toggle_setting", "args": {"setting": "word_wrap"}, "caption": "Word Wrap", "mnemonic": "w", "checkbox": true }, + { + "caption": "Word Wrap Column", + "children": + [ + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 0}, "caption": "Automatic", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 70}, "caption": "70", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 78}, "caption": "78", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 80}, "caption": "80", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 100}, "caption": "100", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 120}, "caption": "120", "checkbox": true } + ] + }, + { + "caption": "Ruler", + "children": + [ + { "command": "set_setting", "args": {"setting": "rulers", "value": []}, "caption": "None", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [70]}, "caption": "70", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [78]}, "caption": "78", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [80]}, "caption": "80", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [100]}, "caption": "100", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [120]}, "caption": "120", "checkbox": true } + ] + }, + { "caption": "-" }, + { "command": "toggle_setting", "args": {"setting": "spell_check"}, "caption": "Spell Check", "checkbox": true }, + { "command": "next_misspelling" }, + { "command": "prev_misspelling" }, + { + "caption": "Dictionary", + "children": [ { "command": "$dictionaries" } ] + } + ] + }, + { + "caption": "Goto", + "mnemonic": "G", + "id": "goto", + "children": + [ + { "command": "show_overlay", "args": {"overlay": "goto", "show_files": true}, "caption": "Goto Anything…", "mnemonic": "A" }, + { "caption": "-" }, + { "command": "show_overlay", "args": {"overlay": "goto", "text": "@"}, "caption": "Goto Symbol…" }, + // { "command": "show_overlay", "args": {"overlay": "goto", "text": "#"}, "caption": "Goto Word…" }, + { "command": "show_overlay", "args": {"overlay": "goto", "text": ":"}, "caption": "Goto Line…" }, + { "caption": "-" }, + { + "caption": "Switch File", + "mnemonic": "t", + "id": "switch_file", + "children": + [ + { "command": "next_view", "caption": "Next File" }, + { "command": "prev_view", "caption": "Previous File" }, + { "caption": "-" }, + { "command": "next_view_in_stack", "caption": "Next File in Stack" }, + { "command": "prev_view_in_stack", "caption": "Previous File in Stack" }, + { "caption": "-" }, + { "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]}, "caption": "Switch Header/Implementation", "mnemonic": "H" }, + { "caption": "-" }, + { "command": "select_by_index", "args": { "index": 0 } }, + { "command": "select_by_index", "args": { "index": 1 } }, + { "command": "select_by_index", "args": { "index": 2 } }, + { "command": "select_by_index", "args": { "index": 3 } }, + { "command": "select_by_index", "args": { "index": 4 } }, + { "command": "select_by_index", "args": { "index": 5 } }, + { "command": "select_by_index", "args": { "index": 6 } }, + { "command": "select_by_index", "args": { "index": 7 } }, + { "command": "select_by_index", "args": { "index": 8 } }, + { "command": "select_by_index", "args": { "index": 9 } } + ] + }, + { "caption": "-" }, + { + "caption": "Scroll", + "mnemonic": "S", + "id": "scroll", + "children": + [ + { "command": "show_at_center", "caption": "Scroll to Selection" }, + { "command": "scroll_lines", "args": {"amount": 1.0 }, "caption": "Line Up" }, + { "command": "scroll_lines", "args": {"amount": -1.0 }, "caption": "Line Down" } + ] + }, + { + "caption": "Bookmarks", + "mnemonic": "b", + "id": "bookmarks", + "children": + [ + { "command": "toggle_bookmark" }, + { "command": "next_bookmark" }, + { "command": "prev_bookmark" }, + { "command": "clear_bookmarks" }, + { "command": "select_all_bookmarks" }, + { "caption": "-" }, + { "command": "select_bookmark", "args": {"index": 0} }, + { "command": "select_bookmark", "args": {"index": 1} }, + { "command": "select_bookmark", "args": {"index": 2} }, + { "command": "select_bookmark", "args": {"index": 3} }, + { "command": "select_bookmark", "args": {"index": 4} }, + { "command": "select_bookmark", "args": {"index": 5} }, + { "command": "select_bookmark", "args": {"index": 6} }, + { "command": "select_bookmark", "args": {"index": 7} }, + { "command": "select_bookmark", "args": {"index": 8} }, + { "command": "select_bookmark", "args": {"index": 9} }, + { "command": "select_bookmark", "args": {"index": 10} }, + { "command": "select_bookmark", "args": {"index": 11} }, + { "command": "select_bookmark", "args": {"index": 12} }, + { "command": "select_bookmark", "args": {"index": 13} }, + { "command": "select_bookmark", "args": {"index": 14} }, + { "command": "select_bookmark", "args": {"index": 15} } + ] + }, + { "caption": "-" }, + { "command": "move_to", "args": {"to": "brackets"}, "caption": "Jump to Matching Bracket" } + ] + }, + { + "caption": "Tools", + "mnemonic": "T", + "id": "tools", + "children": + [ + { "command": "show_overlay", "args": {"overlay": "command_palette"}, "caption": "Command Palette…" }, + { "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}, "caption": "Snippets…" }, + { "caption": "-", "id": "build" }, + { + "caption": "Build System", + "mnemonic": "u", + "children": + [ + { "command": "set_build_system", "args": { "file": "" }, "caption": "Automatic", "checkbox": true }, + { "caption": "-" }, + { "command": "set_build_system", "args": {"index": 0}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 1}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 2}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 3}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 4}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 5}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 6}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 7}, "checkbox": true }, + { "command": "$build_systems" }, + { "caption": "-" }, + { "command": "new_build_system", "caption": "New Build System…" } + ] + }, + { "command": "build", "mnemonic": "B" }, + { "command": "build", "args": {"variant": "Run"}, "mnemonic": "R" }, + { "command": "exec", "args": {"kill": true}, "caption": "Cancel Build", "mnemonic": "C" }, + { + "caption": "Build Results", + "mnemonic": "R", + "children": + [ + { "command": "show_panel", "args": {"panel": "output.exec"}, "caption": "Show Build Results", "mnemonic": "S" }, + { "command": "next_result", "mnemonic": "N" }, + { "command": "prev_result", "caption": "Previous Result", "mnemonic": "P" } + ] + }, + { "command": "toggle_save_all_on_build", "caption": "Save All on Build", "mnemonic": "A", "checkbox": true }, + { "caption": "-", "id": "macros" }, + { "command": "toggle_record_macro", "mnemonic": "M" }, + { "command": "run_macro", "caption": "Playback Macro", "mnemonic": "P" }, + { "command": "save_macro", "caption": "Save Macro…", "mnemonic": "v" }, + { + "caption": "Macros", + "children": [ { "command": "$macros" } ] + }, + { "caption": "-" }, + { "command": "new_plugin", "caption": "New Plugin…" }, + { "command": "new_snippet", "caption": "New Snippet…" }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "Project", + "mnemonic": "P", + "id": "project", + "children": + [ + { "command": "prompt_open_project", "caption": "Open Project…", "mnemonic": "O" }, + { + "caption": "Recent Projects", + "mnemonic": "R", + "children": + [ + { "command": "open_recent_project", "args": {"index": 0 } }, + { "command": "open_recent_project", "args": {"index": 1 } }, + { "command": "open_recent_project", "args": {"index": 2 } }, + { "command": "open_recent_project", "args": {"index": 3 } }, + { "command": "open_recent_project", "args": {"index": 4 } }, + { "command": "open_recent_project", "args": {"index": 5 } }, + { "command": "open_recent_project", "args": {"index": 6 } }, + { "command": "open_recent_project", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "clear_recent_projects", "caption": "Clear Items" } + ] + }, + { "caption": "-" }, + { "command": "prompt_select_project", "caption": "Switch Project in Window…", "mnemonic": "S" }, + { "command": "save_project_as", "caption": "Save Project As…", "mnemonic": "A" }, + { "command": "close_project", "mnemonic": "C" }, + { "command": "open_file", "args": {"file": "${project}"}, "caption": "Edit Project" }, + { "caption": "-" }, + { "command": "prompt_add_folder", "caption": "Add Folder to Project…", "mnemonic": "d" }, + { "command": "close_folder_list", "caption": "Remove all Folders from Project", "mnemonic": "m" }, + { "command": "refresh_folder_list", "caption": "Refresh Folders", "mnemonic": "e" }, + { "caption": "-" }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "Preferences", + "mnemonic": "n", + "id": "preferences", + "children": + [ + { "command": "open_dir", "args": {"dir": "$packages"}, "caption": "Browse Packages…", "mnemonic": "B" }, + { "caption": "-" }, + { "command": "open_file", "args": {"file": "${packages}/Default/Preferences.sublime-settings"}, "caption": "Settings – Default" }, + { "command": "open_file", "args": {"file": "${packages}/User/Preferences.sublime-settings"}, "caption": "Settings – User" }, + { + "caption": "Settings – More", + "children": + [ + { "command": "open_file_settings", "caption": "Syntax Specific – User" }, + { "command": "open_file", "args": {"file": "${packages}/User/Distraction Free.sublime-settings"}, "caption": "Distraction Free – User" } + ] + }, + { "caption": "-" }, + { + "command": "open_file", "args": + { + "file": "${packages}/Default/Default ($platform).sublime-keymap" + }, + "caption": "Key Bindings – Default" + }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Default ($platform).sublime-keymap" + }, + "caption": "Key Bindings – User" + }, + { "caption": "-" }, + { + "caption": "Font", + "children": + [ + { "command": "increase_font_size", "caption": "Larger" }, + { "command": "decrease_font_size", "caption": "Smaller" }, + { "caption": "-" }, + { "command": "reset_font_size", "caption": "Reset" } + ] + }, + { + "caption": "Color Scheme", + "children": [ { "command": "$color_schemes" } ] + } + ] + }, + { + "caption": "Help", + "mnemonic": "H", + "id": "help", + "children": + [ + { "command": "open_url", "args": {"url": "http://www.sublimetext.com/docs/2/"}, "caption": "Documentation" }, + { "command": "open_url", "args": {"url": "http://twitter.com/sublimehq"}, "caption": "Twitter" }, + { "caption": "-" }, + { "command": "purchase_license"}, + { "command": "show_license_window", "caption": "Enter License" }, + { "command": "remove_license"}, + { "caption": "-" }, + { "command": "show_about_window", "caption": "About Sublime Text 2", "mnemonic": "A" } + ] + } +] diff --git a/EN/Side Bar Mount Point.sublime-menu b/EN/Side Bar Mount Point.sublime-menu new file mode 100755 index 0000000..3411b67 --- /dev/null +++ b/EN/Side Bar Mount Point.sublime-menu @@ -0,0 +1,4 @@ +[ + { "caption": "-", "id": "folder_commands" }, + { "caption": "Remove Folder from Project", "command": "remove_folder", "args": { "dirs": []} } +] diff --git a/EN/Side Bar.sublime-menu b/EN/Side Bar.sublime-menu new file mode 100755 index 0000000..3d308b9 --- /dev/null +++ b/EN/Side Bar.sublime-menu @@ -0,0 +1,11 @@ +[ + { "caption": "New File", "command": "new_file_at", "args": {"dirs": []} }, + { "caption": "Rename…", "command": "rename_path", "args": {"paths": []} }, + { "caption": "Delete File", "command": "delete_file", "args": {"files": []} }, + { "caption": "Open Containing Folder…", "command": "open_containing_folder", "args": {"files": []} }, + { "caption": "-", "id": "folder_commands" }, + { "caption": "New Folder…", "command": "new_folder", "args": {"dirs": []} }, + { "caption": "Delete Folder", "command": "delete_folder", "args": {"dirs": []} }, + { "caption": "Find in Folder…", "command": "find_in_folder", "args": {"dirs": []} }, + { "caption": "-", "id": "end" } +] diff --git a/EN/Syntax.sublime-menu b/EN/Syntax.sublime-menu new file mode 100755 index 0000000..b555b7b --- /dev/null +++ b/EN/Syntax.sublime-menu @@ -0,0 +1,6 @@ +[ + { + "caption": "Syntax", + "children": [ { "command": "$file_types" } ] + } +] diff --git a/EN/Tab Context.sublime-menu b/EN/Tab Context.sublime-menu new file mode 100755 index 0000000..b5781f0 --- /dev/null +++ b/EN/Tab Context.sublime-menu @@ -0,0 +1,8 @@ +[ + { "command": "close_by_index", "args": { "group": -1, "index": -1 }, "caption": "Close" }, + { "command": "close_others_by_index", "args": { "group": -1, "index": -1 }, "caption": "Close others" }, + { "command": "close_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "Close tabs to the right" }, + { "caption": "-" }, + { "command": "new_file" }, + { "command": "prompt_open_file", "caption": "Open file" } +] diff --git a/EN/Widget Context.sublime-menu b/EN/Widget Context.sublime-menu new file mode 100755 index 0000000..971328a --- /dev/null +++ b/EN/Widget Context.sublime-menu @@ -0,0 +1,7 @@ +[ + { "command": "copy" }, + { "command": "cut" }, + { "command": "paste" }, + { "caption": "-" }, + { "command": "select_all" } +] diff --git a/ZH_CN/Context.sublime-menu b/ZH_CN/Context.sublime-menu new file mode 100755 index 0000000..7adcc95 --- /dev/null +++ b/ZH_CN/Context.sublime-menu @@ -0,0 +1,16 @@ +[ + { "command": "open_context_url", "caption": "打开网址" }, + { "command": "context_goto_definition", "caption": "转到定义" }, + { "caption": "-", "id": "clipboard" }, + { "command": "copy", "caption": "复制" }, + { "command": "cut", "caption": "剪切" }, + { "command": "paste", "caption": "粘贴" }, + { "caption": "-", "id": "selection" }, + { "command": "select_all", "caption": "全选" }, + { "caption": "-", "id": "file" }, + { "command": "open_in_browser", "caption": "在浏览器中打开" }, + { "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "打开所在文件夹…" }, + { "command": "copy_path", "caption": "复制文件路径" }, + { "command": "reveal_in_side_bar", "caption": "在侧边栏显示" }, + { "caption": "-", "id": "end" } +] \ No newline at end of file diff --git a/ZH_CN/Find in Files.sublime-menu b/ZH_CN/Find in Files.sublime-menu new file mode 100755 index 0000000..1a1708d --- /dev/null +++ b/ZH_CN/Find in Files.sublime-menu @@ -0,0 +1,9 @@ +[ + { "command": "clear_location", "caption": "清除" }, + { "command": "add_directory", "caption": "添加目录" }, + { "command": "add_where_snippet", "args": {"snippet": "*.${0:txt}"}, "caption": "添加包含筛选器" }, + { "command": "add_where_snippet", "args": {"snippet": "-*.${0:txt}"}, "caption": "添加排除筛选器" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "添加打开文件夹" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "添加打开文件" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "添加当前文件" }, +] diff --git a/ZH_CN/Indentation.sublime-menu b/ZH_CN/Indentation.sublime-menu new file mode 100755 index 0000000..5af6187 --- /dev/null +++ b/ZH_CN/Indentation.sublime-menu @@ -0,0 +1,17 @@ +[ + { "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "使用空格缩进", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "选项卡宽度: 1", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "选项卡宽度: 2", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "选项卡宽度: 3", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "选项卡宽度: 4", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "选项卡宽度: 5", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "选项卡宽度: 6", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "选项卡宽度: 7", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "选项卡宽度: 8", "checkbox": true }, + { "caption": "-" }, + { "command": "detect_indentation", "caption": "猜测来自缓冲区的设置" }, + { "caption": "-" }, + { "command": "expand_tabs", "caption": "转换缩进为空格", "args": {"set_translate_tabs": true} }, + { "command": "unexpand_tabs", "caption": "转换缩进为Tab", "args": {"set_translate_tabs": true} } + ] diff --git a/ZH_CN/Main.sublime-menu b/ZH_CN/Main.sublime-menu new file mode 100755 index 0000000..13b0036 --- /dev/null +++ b/ZH_CN/Main.sublime-menu @@ -0,0 +1,888 @@ +[ + { + "caption": "菜单(F)", + "mnemonic": "F", + "id": "file", + "children": + [ + { "command": "new_file", "caption": "新建文件(N)", "mnemonic": "N" }, + + { "command": "prompt_open_file", "caption": "打开文件(O)…", "mnemonic": "O", "platform": "!OSX" }, + { "command": "prompt_open_folder", "caption": "打开文件夹…", "platform": "!OSX" }, + { "command": "prompt_open", "caption": "打开…", "platform": "OSX" }, + { + "caption": "打开最近(R)", + "mnemonic": "R", + "children": + [ + { "command": "reopen_last_file", "caption": "重新打开已关闭的文件" }, + { "caption": "-" }, + { "command": "open_recent_file", "args": {"index": 0 } }, + { "command": "open_recent_file", "args": {"index": 1 } }, + { "command": "open_recent_file", "args": {"index": 2 } }, + { "command": "open_recent_file", "args": {"index": 3 } }, + { "command": "open_recent_file", "args": {"index": 4 } }, + { "command": "open_recent_file", "args": {"index": 5 } }, + { "command": "open_recent_file", "args": {"index": 6 } }, + { "command": "open_recent_file", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "open_recent_folder", "args": {"index": 0 } }, + { "command": "open_recent_folder", "args": {"index": 1 } }, + { "command": "open_recent_folder", "args": {"index": 2 } }, + { "command": "open_recent_folder", "args": {"index": 3 } }, + { "command": "open_recent_folder", "args": {"index": 4 } }, + { "command": "open_recent_folder", "args": {"index": 5 } }, + { "command": "open_recent_folder", "args": {"index": 6 } }, + { "command": "open_recent_folder", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "clear_recent_files", "caption": "清除记录" } + ] + }, + { + "caption": "重新用...编码打开", + "children": + [ + { "caption": "UTF-8", "command": "reopen", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-16 LE", "command": "reopen", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 BE", "command": "reopen", "args": {"encoding": "utf-16 be" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "reopen", "args": {"encoding": "Hexadecimal" } } + ] + }, + { "command": "clone_file", "caption": "克隆文件(E)", "mnemonic": "E" }, + { "command": "save", "caption": "保存(S)", "mnemonic": "S" }, + { + "caption": "以...编码保存", + "children": + [ + { "caption": "UTF-8", "command": "save", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-8 with BOM", "command": "save", "args": {"encoding": "utf-8 with bom" } }, + { "caption": "UTF-16 LE", "command": "save", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 LE with BOM", "command": "save", "args": {"encoding": "utf-16 le with bom" } }, + { "caption": "UTF-16 BE", "command": "save", "args": {"encoding": "utf-16 be" } }, + { "caption": "UTF-16 BE with BOM", "command": "save", "args": {"encoding": "utf-16 be with bom" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "save", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "save", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "save", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "save", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "save", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "save", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "save", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "save", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "save", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "save", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "save", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "save", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "save", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "save", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "save", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "save", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "save", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "save", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "save", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "save", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "save", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "save", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "save", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "save", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "save", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "save", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "save", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "save", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "save", "args": {"encoding": "Hexadecimal" } } + ] + }, + { "command": "prompt_save_as", "caption": "另存为(A)…", "mnemonic": "A" }, + { "command": "save_all", "caption": "保存全部(L)", "mnemonic": "L" }, + { "caption": "-", "id": "window" }, + { "command": "new_window", "caption": "新建窗口(W)", "mnemonic": "W" }, + { "command": "close_window", "caption": "关闭窗口" }, + { "caption": "-", "id": "close" }, + { "command": "close", "caption": "关闭文件(C)", "mnemonic": "C" }, + { "command": "revert", "caption": "恢复文件(V)", "mnemonic": "V" }, + { "command": "close_all", "caption": "关闭所有文件" }, + { "caption": "-", "id": "exit" }, + { "command": "exit", "caption": "退出(X)", "mnemonic": "X" } + ] + }, + { + "caption": "编辑(E)", + "mnemonic": "E", + "id": "edit", + "children": + [ + { "command": "undo", "caption": "撤销(U)", "mnemonic": "U" }, + { "command": "redo_or_repeat", "caption": "重做(R)", "mnemonic": "R" }, + { + "caption": "撤销选择", + "children": + [ + { "command": "soft_undo", "caption": "软撤销" }, + { "command": "soft_redo", "caption": "软重做" } + ] + }, + { "caption": "-", "id": "clipboard" }, + { "command": "copy", "caption": "复制(C)", "mnemonic": "C" }, + { "command": "cut", "caption": "剪切(N)", "mnemonic": "N" }, + { "command": "paste", "caption": "粘贴(P)", "mnemonic": "P" }, + { "command": "paste_and_indent", "caption": "粘贴并缩进(I)", "mnemonic": "I" }, + { "command": "paste_from_history", "caption": "从剪切板粘贴" }, + { "caption": "-" }, + { + "caption": "行(L)", "mnemonic": "L", + "id": "line", + "children": + [ + { "command": "indent", "caption": "缩进" }, + { "command": "unindent" , "caption": "不缩进" }, + { "command": "reindent", "args": {"single_line": true} , "caption": "重新缩进" }, + { "command": "swap_line_up", "caption": "向上切换行" }, + { "command": "swap_line_down", "caption": "向下切换行"}, + { "command": "duplicate_line", "caption": "重复行" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"}, "caption": "删除行" }, + { "command": "join_lines", "caption": "合并行" } + ] + }, + { + "caption": "注释(M)", "mnemonic": "M", + "id": "comment", + "children": + [ + { "command": "toggle_comment", "args": {"block": false}, "caption": "开启/关闭注释" }, + { "command": "toggle_comment", "args": {"block": true}, "caption": "开启/关闭区段注释" } + ] + }, + { + "caption": "文本(T)", "mnemonic": "T", + "id": "text", + "children": + [ + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"}, "caption": "插入行之前" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"}, "caption": "插入行之后" }, + { "caption": "-" }, + { "command": "delete_word", "args": { "forward": true }, "caption": "向前删除单词" }, + { "command": "delete_word", "args": { "forward": false }, "caption": "向后删除单词" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"}, "caption": "删除行" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"}, "caption": "删除到末尾" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"}, "caption": "删除到开始" }, + { "caption": "-" }, + { "command": "transpose", "caption": "换位" } + ] + }, + { + "caption": "标签", + "id": "tag", + "children": + [ + { "command": "close_tag", "caption": "关闭标签" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展开选择到标签" }, + { "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" }, "caption": "用标签自动换行选择" } + ] + }, + { + "caption": "标记", + "id": "mark", + "children": + [ + { "command": "set_mark", "caption": "设置标记" }, + { "command": "select_to_mark", "caption": "选择到标记" }, + { "command": "delete_to_mark", "caption": "删除到标记" }, + { "command": "swap_with_mark", "caption": "互换标记" }, + { "command": "clear_bookmarks", "args": {"name": "mark"}, "caption": "清除标记" }, + { "caption": "-" }, + { "command": "yank" , "caption": "抽出" } + ] + }, + { + "caption": "代码折叠", + "id": "fold", + "children": + [ + { "command": "fold", "caption": "折叠" }, + { "command": "unfold", "caption": "展开" }, + { "command": "unfold_all", "caption": "展开全部" }, + { "caption": "-" }, + { "caption": "折叠全部", "command": "fold_by_level", "args": {"level": 1} }, + { "caption": "折叠 2 层", "command": "fold_by_level", "args": {"level": 2} }, + { "caption": "折叠 3 层", "command": "fold_by_level", "args": {"level": 3} }, + { "caption": "折叠 4 层", "command": "fold_by_level", "args": {"level": 4} }, + { "caption": "折叠 5 层", "command": "fold_by_level", "args": {"level": 5} }, + { "caption": "折叠 6 层", "command": "fold_by_level", "args": {"level": 6} }, + { "caption": "折叠 7 层", "command": "fold_by_level", "args": {"level": 7} }, + { "caption": "折叠 8 层", "command": "fold_by_level", "args": {"level": 8} }, + { "caption": "折叠 9 层", "command": "fold_by_level", "args": {"level": 9} }, + { "caption": "-" }, + { "command": "fold_tag_attributes", "caption": "折叠标签属性" } + ] + }, + { + "caption": "转换大小写(A)", "mnemonic": "A", + "id": "convert_case", + "children": + [ + { "command": "title_case", "caption": "首字母大写" }, + { "command": "upper_case", "caption": "大写" }, + { "command": "lower_case", "caption": "小写" }, + { "command": "swap_case", "caption": "交换大小写" } + ] + }, + { + "caption": "自动换行", + "id": "wrap", + "children": + [ + { "command": "wrap_lines", "caption": "自动换行段落在标尺" }, + { "command": "wrap_lines", "args": {"width": 70}, "caption": "自动换行段落在 70 个字符" }, + { "command": "wrap_lines", "args": {"width": 78}, "caption": "自动换行段落在 78 个字符" }, + { "command": "wrap_lines", "args": {"width": 80}, "caption": "自动换行段落在 80 个字符" }, + { "command": "wrap_lines", "args": {"width": 100}, "caption": "自动换行段落在 100 个字符" }, + { "command": "wrap_lines", "args": {"width": 120}, "caption": "自动换行段落在 120 个字符" } + ] + }, + { "command": "auto_complete", "caption": "显示完成" }, + { "caption": "-", "id": "permute" }, + + { "command": "sort_lines", "args": {"case_sensitive": false}, "caption": "行排序(S)", "mnemonic": "S" }, + { "command": "sort_lines", "args": {"case_sensitive": true}, "caption": "行排序(区分大小写)" }, + { + "caption": "更改行的序列", + "children": + [ + { "command": "permute_lines", "args": {"operation": "reverse"}, "caption": "反向" }, + { "command": "permute_lines", "args": {"operation": "unique"}, "caption": "唯一" }, + { "command": "permute_lines", "args": {"operation": "shuffle"}, "caption": "无序" } + ] + }, + { + "caption": "更改选择内容的序列", + "children": + [ + { "command": "sort_selection", "args": {"case_sensitive": false}, "caption": "排序" }, + { "command": "sort_selection", "args": {"case_sensitive": true}, "caption": "排序(区分大小写)" }, + { "command": "permute_selection", "args": {"operation": "reverse"}, "caption": "反向" }, + { "command": "permute_selection", "args": {"operation": "unique"}, "caption": "唯一" }, + { "command": "permute_selection", "args": {"operation": "shuffle"}, "caption": "无序" } + ] + }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "选择(S)", + "mnemonic": "S", + "id": "selection", + "children": + [ + { "command": "split_selection_into_lines", "caption": "拆分为行" }, + { "command": "select_lines", "args": {"forward": false}, "caption": "添加前一行" }, + { "command": "select_lines", "args": {"forward": true}, "caption": "添加下一行" }, + { "command": "single_selection", "caption": "单独选择" }, + { "command": "invert_selection", "caption": "反向选择" }, + { "caption": "-" }, + { "command": "select_all", "caption": "选择全部" }, + { "command": "expand_selection", "args": {"to": "line"}, "caption": "展开选定行" }, + { "command": "find_under_expand", "caption": "展开选定单词" }, + { "command": "expand_selection_to_paragraph", "caption": "展开选定段落" }, + { "command": "expand_selection", "args": {"to": "scope"}, "caption": "展开选定范围" }, + { "command": "expand_selection", "args": {"to": "brackets"}, "caption": "展开选定括号" }, + { "command": "expand_selection", "args": {"to": "indentation"}, "caption": "展开选定缩进" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展开选定标签" } + ] + }, + { + "caption": "查找(I)", + "mnemonic": "I", + "id": "find", + "children": + [ + { "command": "show_panel", "args": {"panel": "find", "reverse": false}, "caption": "查找…" }, + { "command": "find_next", "caption": "查找下一个" }, + { "command": "find_prev", "caption": "查找前一个" }, + { "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false}, "caption": "增量查找" }, + { "caption": "-" }, + { "command": "show_panel", "args": {"panel": "replace", "reverse": false}, "caption": "替换…" }, + { "command": "replace_next", "caption": "替换下一个" }, + { "caption": "-" }, + { "command": "find_under", "caption": "快速查找" }, + { "command": "find_all_under", "caption": "快速查找全部" }, + { "command": "find_under_expand", "caption": "快速添加下一个" }, + { "command": "find_under_expand_skip", "caption": "快速跳到下一个", "platform": "!OSX" }, + { "caption": "-" }, + { "command": "slurp_find_string", "caption": "使用所选内容查找" }, + { "command": "slurp_replace_string", "caption": "使用所选内容替换" }, + { "caption": "-" }, + { "command": "show_panel", "args": {"panel": "find_in_files"}, "caption": "在文件中查找…" }, + { + "caption": "查找结果(R)", + "mnemonic": "R", + "children": + [ + { "command": "show_panel", "args": {"panel": "output.find_results"}, "caption": "显示结果面板" }, + { "command": "next_result", "caption": "下一结果" }, + { "command": "prev_result", "caption": "前一结果" } + ] + } + ] + }, + { + "caption": "查看(V)", + "mnemonic": "V", + "id": "view", + "children": + [ + { + "caption": "侧边栏", + "id": "side_bar", + "children": + [ + { "command": "toggle_side_bar", "caption": "显示/隐藏侧边栏" }, + { "caption": "-" }, + { "command": "toggle_show_open_files", "caption": "显示打开的文件" } + ] + }, + { "command": "toggle_minimap", "caption": "显示/隐藏迷你地图" }, + { "command": "toggle_tabs", "caption": "显示/隐藏标签页" }, + { "command": "toggle_status_bar", "caption": "显示/隐藏状态栏" }, + { "command": "toggle_menu", "caption": "显示/隐藏菜单" }, + { "command": "show_panel", "args": {"panel": "console", "toggle": true}, "caption": "显示/隐藏控制台" }, + { "caption": "-", "id": "full_screen" }, + { "command": "toggle_full_screen", "caption": "进入/退出全屏" }, + { "command": "toggle_distraction_free", "caption": "进入/退出无干扰模式" }, + { "caption": "-", "id": "groups" }, + { + "caption": "布局(L)", + "mnemonic": "L", + "id": "layout", + "children": + [ + { + "caption": "单独", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1]] + } + }, + { + "caption": "列: 2", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.5, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1]] + } + }, + { + "caption": "列: 3", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.33, 0.66, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]] + } + }, + { + "caption": "列: 4", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.25, 0.5, 0.75, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]] + } + }, + { + "caption": "行: 2", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 0.5, 1.0], + "cells": [[0, 0, 1, 1], [0, 1, 1, 2]] + } + }, + { + "caption": "行: 3", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 0.33, 0.66, 1.0], + "cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]] + } + }, + { + "caption": "网格: 4", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.5, 1.0], + "rows": [0.0, 0.5, 1.0], + "cells": + [ + [0, 0, 1, 1], [1, 0, 2, 1], + [0, 1, 1, 2], [1, 1, 2, 2] + ] + } + } + ] + }, + { + "caption": "组", + "children": + [ + { "command": "new_pane", "caption": "文件移到新组" }, + { "command": "new_pane", "args": {"move": false}, "caption": "新建组" }, + { "command": "close_pane", "caption": "关闭组" }, + + { "caption": "-" }, + + { + "caption": "最大列数: 1", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 1 } + }, + { + "caption": "最大列数: 2", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 2 } + }, + { + "caption": "最大列数: 3", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 3 } + }, + { + "caption": "最大列数: 4", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 4 } + }, + { + "caption": "最大列数: 5", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 5 } + } + ] + }, + { + "caption": "焦点分组(F)", + "mnemonic": "F", + "children": + [ + + { "command": "focus_neighboring_group", "caption": "下一个" }, + { "command": "focus_neighboring_group", "args": {"forward": false}, "caption": "上一个" }, + { "caption": "-" }, + { "command": "focus_group", "args": {"group": 0}, "caption": "分组 1" }, + { "command": "focus_group", "args": {"group": 1}, "caption": "分组 2" }, + { "command": "focus_group", "args": {"group": 2}, "caption": "分组 3" }, + { "command": "focus_group", "args": {"group": 3}, "caption": "分组 4" } + ] + }, + { + "caption": "移动文件到分组(M)", + "mnemonic": "M", + "children": + [ + { "command": "move_to_neighboring_group", "caption": "下一个" }, + { "command": "move_to_neighboring_group", "args": {"forward": false}, "caption": "上一个" }, + { "caption": "-" }, + { "command": "move_to_group", "args": {"group": 0}, "caption": "分组 1" }, + { "command": "move_to_group", "args": {"group": 1}, "caption": "分组 2" }, + { "command": "move_to_group", "args": {"group": 2}, "caption": "分组 3" }, + { "command": "move_to_group", "args": {"group": 3}, "caption": "分组 4" } + ] + }, + { "caption": "-" }, + { + "caption": "语法(S)", + "mnemonic": "S", + "id": "syntax", + "children": [ { "command": "$file_types" } ] + }, + { + "caption": "缩进(I)", + "mnemonic": "I", + "id": "indentation", + "children": + [ + { "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "使用空格缩进", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "Tab宽度: 1", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "Tab宽度: 2", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "Tab宽度: 3", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "Tab宽度: 4", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "Tab宽度: 5", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "Tab宽度: 6", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "Tab宽度: 7", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "Tab宽度: 8", "checkbox": true }, + { "caption": "-" }, + { "command": "detect_indentation", "caption": "猜测来自缓冲区的设置" }, + { "caption": "-" }, + { "command": "expand_tabs", "caption": "转换缩进为空格", "args": {"set_translate_tabs": true} }, + { "command": "unexpand_tabs", "caption": "转换缩进为tab", "args": {"set_translate_tabs": true} } + ] + }, + { + "caption": "行结束符(N)", + "mnemonic": "N", + "id": "line_endings", + "children": + [ + { "command": "set_line_ending", "args": {"type": "windows"}, "caption": "Windows", "checkbox": true }, + { "command": "set_line_ending", "args": {"type": "unix"}, "caption": "Unix", "checkbox": true }, + { "command": "set_line_ending", "args": {"type": "cr"}, "caption": "Mac OS 9", "checkbox": true } + ] + }, + { "caption": "-", "id": "settings" }, + { "command": "toggle_setting", "args": {"setting": "word_wrap"}, "caption": "自动换行(W)", "mnemonic": "W", "checkbox": true }, + { + "caption": "自动换行列", + "children": + [ + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 0}, "caption": "自动", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 70}, "caption": "70", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 78}, "caption": "78", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 80}, "caption": "80", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 100}, "caption": "100", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 120}, "caption": "120", "checkbox": true } + ] + }, + { + "caption": "标尺", + "children": + [ + { "command": "set_setting", "args": {"setting": "rulers", "value": []}, "caption": "无", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [70]}, "caption": "70", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [78]}, "caption": "78", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [80]}, "caption": "80", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [100]}, "caption": "100", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [120]}, "caption": "120", "checkbox": true } + ] + }, + { "caption": "-" }, + { "command": "toggle_setting", "args": {"setting": "spell_check"}, "caption": "拼写检查", "checkbox": true }, + { "command": "next_misspelling", "caption": "下一拼写错误" }, + { "command": "prev_misspelling", "caption": "前一拼写错误" }, + { + "caption": "词典", + "children": [ { "command": "$dictionaries" } ] + } + ] + }, + { + "caption": "转到(G)", + "mnemonic": "G", + "id": "goto", + "children": + [ + { "command": "show_overlay", "args": {"overlay": "goto", "show_files": true}, "caption": "转到任何(A)…", "mnemonic": "A" }, + { "caption": "-" }, + { "command": "show_overlay", "args": {"overlay": "goto", "text": "@"}, "caption": "转到符号…" }, + { "command": "goto_symbol_in_project", "caption": "转到项目中符号…" }, + { "command": "goto_definition", "caption": "转到预定义…" }, + // { "command": "show_overlay", "args": {"overlay": "goto", "text": "#"}, "caption": "转到单词…" }, + { "command": "show_overlay", "args": {"overlay": "goto", "text": ":"}, "caption": "转到行…" }, + { "caption": "-" }, + { "command": "jump_back", "caption": "跳回" }, + { "command": "jump_forward", "caption": "跳至" }, + { "caption": "-" }, + { + "caption": "切换文件(T)", + "mnemonic": "T", + "id": "switch_file", + "children": + [ + { "command": "next_view", "caption": "下一文件" }, + { "command": "prev_view", "caption": "上一文件" }, + { "caption": "-" }, + { "command": "next_view_in_stack", "caption": "在堆栈中的下一文件" }, + { "command": "prev_view_in_stack", "caption": "在堆栈中的前一文件" }, + { "caption": "-" }, + { "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]}, "caption": "切换标题/实施(H)", "mnemonic": "H" }, + { "caption": "-" }, + { "command": "select_by_index", "args": { "index": 0 } }, + { "command": "select_by_index", "args": { "index": 1 } }, + { "command": "select_by_index", "args": { "index": 2 } }, + { "command": "select_by_index", "args": { "index": 3 } }, + { "command": "select_by_index", "args": { "index": 4 } }, + { "command": "select_by_index", "args": { "index": 5 } }, + { "command": "select_by_index", "args": { "index": 6 } }, + { "command": "select_by_index", "args": { "index": 7 } }, + { "command": "select_by_index", "args": { "index": 8 } }, + { "command": "select_by_index", "args": { "index": 9 } } + ] + }, + { "caption": "-" }, + { + "caption": "滚动(S)", + "mnemonic": "S", + "id": "scroll", + "children": + [ + { "command": "show_at_center", "caption": "滚动到选择" }, + { "command": "scroll_lines", "args": {"amount": 1.0 }, "caption": "向上一行" }, + { "command": "scroll_lines", "args": {"amount": -1.0 }, "caption": "向下一行" } + ] + }, + { + "caption": "书签(B)", + "mnemonic": "B", + "id": "bookmarks", + "children": + [ + { "command": "toggle_bookmark", "caption": "开启/关闭书签" }, + { "command": "next_bookmark", "caption": "下一书签" }, + { "command": "prev_bookmark", "caption": "前一书签" }, + { "command": "clear_bookmarks", "caption": "清除书签" }, + { "command": "select_all_bookmarks", "caption": "选择所有书签" }, + { "caption": "-" }, + { "command": "select_bookmark", "args": {"index": 0} }, + { "command": "select_bookmark", "args": {"index": 1} }, + { "command": "select_bookmark", "args": {"index": 2} }, + { "command": "select_bookmark", "args": {"index": 3} }, + { "command": "select_bookmark", "args": {"index": 4} }, + { "command": "select_bookmark", "args": {"index": 5} }, + { "command": "select_bookmark", "args": {"index": 6} }, + { "command": "select_bookmark", "args": {"index": 7} }, + { "command": "select_bookmark", "args": {"index": 8} }, + { "command": "select_bookmark", "args": {"index": 9} }, + { "command": "select_bookmark", "args": {"index": 10} }, + { "command": "select_bookmark", "args": {"index": 11} }, + { "command": "select_bookmark", "args": {"index": 12} }, + { "command": "select_bookmark", "args": {"index": 13} }, + { "command": "select_bookmark", "args": {"index": 14} }, + { "command": "select_bookmark", "args": {"index": 15} } + ] + }, + { "caption": "-" }, + { "command": "move_to", "args": {"to": "brackets"}, "caption": "跳转到匹配的括号" } + ] + }, + { + "caption": "工具(T)", + "mnemonic": "T", + "id": "tools", + "children": + [ + { "command": "show_overlay", "args": {"overlay": "command_palette"}, "caption": "命令面板…" }, + { "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}, "caption": "代码段…" }, + { "caption": "-", "id": "build" }, + { + "caption": "编译系统(U)", + "mnemonic": "U", + "children": + [ + { "command": "set_build_system", "args": { "file": "" }, "caption": "自动", "checkbox": true }, + { "caption": "-" }, + { "command": "set_build_system", "args": {"index": 0}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 1}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 2}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 3}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 4}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 5}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 6}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 7}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 8}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 9}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 10}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 11}, "checkbox": true }, + { "caption": "-" }, + { "command": "$build_systems" }, + { "caption": "-" }, + { "command": "new_build_system", "caption": "新编译系统…" } + ] + }, + { "command": "build", "caption": "编译(B)", "mnemonic": "B" }, + { "command": "build", "args": {"select": true}, "caption": "用…编译" }, + { "command": "exec", "args": {"kill": true}, "caption": "取消编译(C)", "mnemonic": "C" }, + { + "caption": "编译结果(R)", + "mnemonic": "R", + "children": + [ + { "command": "show_panel", "args": {"panel": "output.exec"}, "caption": "显示编译结果(S)", "mnemonic": "S" }, + { "command": "next_result", "caption": "下一结果(N)", "mnemonic": "N" }, + { "command": "prev_result", "caption": "前一结果(P)", "mnemonic": "P" } + ] + }, + { "command": "toggle_save_all_on_build", "caption": "保存所有有关编译(A)", "mnemonic": "A", "checkbox": true }, + { "caption": "-", "id": "macros" }, + { "command": "toggle_record_macro", "caption": "录制宏(M)", "mnemonic": "M" }, + { "command": "run_macro", "caption": "播放宏(P)", "mnemonic": "P" }, + { "command": "save_macro", "caption": "保存宏(V)…", "mnemonic": "V" }, + { + "caption": "宏", + "children": [ { "command": "$macros" } ] + }, + { "caption": "-" }, + { "command": "new_plugin", "caption": "新插件…" }, + { "command": "new_snippet", "caption": "新代码段…" }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "项目(P)", + "id": "project", + "mnemonic": "P", + "children": + [ + { "command": "prompt_open_project_or_workspace", "caption": "打开项目(O)…" }, + { "command": "prompt_switch_project_or_workspace", "caption": "切换项目…" }, + { "command": "prompt_select_workspace", "caption": "快速切换项目(S)…", "mnemonic": "S" }, + { + "caption": "最近项目(R)", + "children": + [ + { "command": "open_recent_project_or_workspace", "args": {"index": 0 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 1 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 2 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 3 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 4 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 5 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 6 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "clear_recent_workspaces", "caption": "清除项目" } + ] + }, + { "caption": "-" }, + { "command": "save_project_and_workspace_as", "caption": "另存项目为(A)…", "mnemonic": "A" }, + { "command": "close_workspace", "caption": "关闭项目(C)", "mnemonic": "C" }, + { "command": "open_file", "args": {"file": "${project}"}, "caption": "编辑项目" }, + { "caption": "-" }, + { "command": "new_window_for_project", "caption": "工作区切换项目" }, + { "command": "save_workspace_as", "caption": "工作区另存为(A)...", "mnemonic": "A" }, + { "caption": "-" }, + { "command": "prompt_add_folder", "caption": "添加文件夹到项目(D)…", "mnemonic": "D" }, + { "command": "close_folder_list", "caption": "从项目删除所有文件夹(M)", "mnemonic": "M" }, + { "command": "refresh_folder_list", "caption": "刷新文件夹(E)", "mnemonic": "E" } + ] + }, + { + "caption": "首选项(N)", + "mnemonic": "N", + "id": "preferences", + "children": + [ + { "command": "open_dir", "args": {"dir": "$packages"}, "caption": "浏览程序包(B)…", "mnemonic": "B" }, + { "caption": "-" }, + { "command": "open_file", "args": {"file": "${packages}/Default/Preferences.sublime-settings"}, "caption": "设置 – 默认" }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Preferences.sublime-settings", + "contents": "// Settings in here override those in \"Default/Preferences.sublime-settings\",\n// and are overridden in turn by file type specific settings.\n{\n\t$0\n}\n" + }, + "caption": "设置 – 用户" + }, + { + "caption": "设置 – 更多", + "children": + [ + { "command": "open_file_settings", "caption": "特定语法 – 用户" }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Distraction Free.sublime-settings", + "contents": "{\n\t$0\n}\n" + }, + "caption": "无干扰模式 – 用户" + } + ] + }, + { "caption": "-" }, + { + "command": "open_file", "args": + { + "file": "${packages}/Default/Default ($platform).sublime-keymap" + }, + "caption": "按键绑定 – 默认" + }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Default ($platform).sublime-keymap", + "contents": "[\n\t$0\n]\n" + }, + "caption": "按键绑定 – 用户" + }, + { "caption": "-" }, + { + "caption": "字体", + "children": + [ + { "command": "increase_font_size", "caption": "较大" }, + { "command": "decrease_font_size", "caption": "较小" }, + { "caption": "-" }, + { "command": "reset_font_size", "caption": "重置" } + ] + }, + { + "caption": "配色方案", + "children": [ { "command": "$color_schemes" } ] + } + ] + }, + { + "caption": "帮助(H)", + "mnemonic": "H", + "id": "help", + "children": + [ + { "command": "open_url", "args": {"url": "http://www.sublimetext.com/docs/3/"}, "caption": "文档" }, + { "command": "open_url", "args": {"url": "http://twitter.com/sublimehq"}, "caption": "Twitter" }, + { "command": "open_url", "args": {"url": "http://i.rexdf.org"}, "caption": "汉化 by Rexdf" }, + { "caption": "-" }, + { "command": "purchase_license"}, + { "command": "show_license_window", "caption": "输入注册码" }, + { "command": "remove_license", "caption": "删除注册信息"}, + { "caption": "-" }, + { "command": "update_check", "caption": "检查更新…", "platform": "!Linux" }, + { "command": "show_changelog", "caption": "升级日志…" }, + { "command": "show_about_window", "caption": "关于 Sublime Text(A)", "mnemonic": "A" } + ] + } +] diff --git a/ZH_CN/Side Bar Mount Point.sublime-menu b/ZH_CN/Side Bar Mount Point.sublime-menu new file mode 100755 index 0000000..ab91b7e --- /dev/null +++ b/ZH_CN/Side Bar Mount Point.sublime-menu @@ -0,0 +1,4 @@ +[ + { "caption": "-", "id": "folder_commands" }, + { "caption": "从项目中删除", "command": "remove_folder", "args": { "dirs": []} } +] diff --git a/ZH_CN/Side Bar.sublime-menu b/ZH_CN/Side Bar.sublime-menu new file mode 100755 index 0000000..bcfbba3 --- /dev/null +++ b/ZH_CN/Side Bar.sublime-menu @@ -0,0 +1,11 @@ +[ + { "caption": "新建文件", "command": "new_file_at", "args": {"dirs": []} }, + { "caption": "重命名…", "command": "rename_path", "args": {"paths": []} }, + { "caption": "删除文件", "command": "delete_file", "args": {"files": []} }, + { "caption": "打开所在文件夹…", "command": "open_containing_folder", "args": {"files": []} }, + { "caption": "-", "id": "folder_commands" }, + { "caption": "新建文件夹…", "command": "new_folder", "args": {"dirs": []} }, + { "caption": "删除文件夹", "command": "delete_folder", "args": {"dirs": []} }, + { "caption": "在文件夹中查找…", "command": "find_in_folder", "args": {"dirs": []} }, + { "caption": "-", "id": "end" } +] diff --git a/ZH_CN/Syntax.sublime-menu b/ZH_CN/Syntax.sublime-menu new file mode 100755 index 0000000..1d9af7f --- /dev/null +++ b/ZH_CN/Syntax.sublime-menu @@ -0,0 +1,6 @@ +[ + { + "caption": "语法", + "children": [ { "command": "$file_types" } ] + } +] diff --git a/ZH_CN/Tab Context.sublime-menu b/ZH_CN/Tab Context.sublime-menu new file mode 100755 index 0000000..f782ed5 --- /dev/null +++ b/ZH_CN/Tab Context.sublime-menu @@ -0,0 +1,8 @@ +[ + { "command": "close_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭" }, + { "command": "close_others_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭其他" }, + { "command": "close_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "关闭右侧选项卡" }, + { "caption": "-" }, + { "command": "new_file", "caption": "新建文件" }, + { "command": "prompt_open_file", "caption": "打开文件" } +] diff --git a/ZH_CN/Widget Context.sublime-menu b/ZH_CN/Widget Context.sublime-menu new file mode 100755 index 0000000..d5b3357 --- /dev/null +++ b/ZH_CN/Widget Context.sublime-menu @@ -0,0 +1,7 @@ +[ + { "command": "copy", "caption": "复制" }, + { "command": "cut", "caption": "剪切" }, + { "command": "paste", "caption": "粘贴" }, + { "caption": "-" }, + { "command": "select_all", "caption": "全选" } +] diff --git a/ZH_TW/Context.sublime-menu b/ZH_TW/Context.sublime-menu new file mode 100755 index 0000000..7463cab --- /dev/null +++ b/ZH_TW/Context.sublime-menu @@ -0,0 +1,16 @@ +[ + { "command": "open_context_url", "caption": "打開網址" }, + { "command": "context_goto_definition", "caption": "轉到定義" }, + { "caption": "-", "id": "clipboard" }, + { "command": "copy", "caption": "復制" }, + { "command": "cut", "caption": "剪切" }, + { "command": "paste", "caption": "粘貼" }, + { "caption": "-", "id": "selection" }, + { "command": "select_all", "caption": "全選" }, + { "caption": "-", "id": "file" }, + { "command": "open_in_browser", "caption": "在瀏覽器中打開" }, + { "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "打開所在文件夾…" }, + { "command": "copy_path", "caption": "復制文件路徑" }, + { "command": "reveal_in_side_bar", "caption": "在側邊欄顯示" }, + { "caption": "-", "id": "end" } +] \ No newline at end of file diff --git a/ZH_TW/Encoding.sublime-menu b/ZH_TW/Encoding.sublime-menu new file mode 100755 index 0000000..4a5e051 --- /dev/null +++ b/ZH_TW/Encoding.sublime-menu @@ -0,0 +1,83 @@ +[ + { + "caption": "設置編碼", + "children": + [ + { "caption": "UTF-8", "command": "set_encoding", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-16 LE", "command": "set_encoding", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 BE", "command": "set_encoding", "args": {"encoding": "utf-16 be" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "set_encoding", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "set_encoding", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "set_encoding", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "set_encoding", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "set_encoding", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "set_encoding", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "set_encoding", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "set_encoding", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "set_encoding", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "set_encoding", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "set_encoding", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "set_encoding", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "set_encoding", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "set_encoding", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "set_encoding", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "set_encoding", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "set_encoding", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "set_encoding", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "set_encoding", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "set_encoding", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "set_encoding", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "set_encoding", "args": {"encoding": "Hexadecimal" } } + ] + }, + + { + "caption": "指定編碼方式打開", + "children": + [ + { "caption": "UTF-8", "command": "reopen", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-16 LE", "command": "reopen", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 BE", "command": "reopen", "args": {"encoding": "utf-16 be" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "reopen", "args": {"encoding": "Hexadecimal" } } + ] + }, +] diff --git a/ZH_TW/Find in Files.sublime-menu b/ZH_TW/Find in Files.sublime-menu new file mode 100755 index 0000000..b86d45c --- /dev/null +++ b/ZH_TW/Find in Files.sublime-menu @@ -0,0 +1,9 @@ +[ + { "command": "clear_location", "caption": "清除" }, + { "command": "add_directory", "caption": "添加目錄" }, + { "command": "add_where_snippet", "args": {"snippet": "*.${0:txt}"}, "caption": "添加包含篩選器" }, + { "command": "add_where_snippet", "args": {"snippet": "-*.${0:txt}"}, "caption": "添加排除篩選器" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "添加打開文件夾" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "添加打開文件" }, + { "command": "add_where_snippet", "args": {"snippet": ""}, "caption": "添加當前文件" }, +] diff --git a/ZH_TW/Indentation.sublime-menu b/ZH_TW/Indentation.sublime-menu new file mode 100755 index 0000000..99ee2e4 --- /dev/null +++ b/ZH_TW/Indentation.sublime-menu @@ -0,0 +1,17 @@ +[ + { "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "使用空格縮進", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "選項卡寬度: 1", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "選項卡寬度: 2", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "選項卡寬度: 3", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "選項卡寬度: 4", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "選項卡寬度: 5", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "選項卡寬度: 6", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "選項卡寬度: 7", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "選項卡寬度: 8", "checkbox": true }, + { "caption": "-" }, + { "command": "detect_indentation", "caption": "猜測來自緩沖區的設置" }, + { "caption": "-" }, + { "command": "expand_tabs", "caption": "轉換縮進為空格", "args": {"set_translate_tabs": true} }, + { "command": "unexpand_tabs", "caption": "轉換縮進為Tab", "args": {"set_translate_tabs": true} } + ] diff --git a/ZH_TW/Main.sublime-menu b/ZH_TW/Main.sublime-menu new file mode 100755 index 0000000..a66d65d --- /dev/null +++ b/ZH_TW/Main.sublime-menu @@ -0,0 +1,888 @@ +[ + { + "caption": "菜單(F)", + "mnemonic": "F", + "id": "file", + "children": + [ + { "command": "new_file", "caption": "新建文件(N)", "mnemonic": "N" }, + + { "command": "prompt_open_file", "caption": "打開文件(O)…", "mnemonic": "O", "platform": "!OSX" }, + { "command": "prompt_open_folder", "caption": "打開文件夾…", "platform": "!OSX" }, + { "command": "prompt_open", "caption": "打開…", "platform": "OSX" }, + { + "caption": "打開最近(R)", + "mnemonic": "R", + "children": + [ + { "command": "reopen_last_file", "caption": "重新打開已關閉的文件" }, + { "caption": "-" }, + { "command": "open_recent_file", "args": {"index": 0 } }, + { "command": "open_recent_file", "args": {"index": 1 } }, + { "command": "open_recent_file", "args": {"index": 2 } }, + { "command": "open_recent_file", "args": {"index": 3 } }, + { "command": "open_recent_file", "args": {"index": 4 } }, + { "command": "open_recent_file", "args": {"index": 5 } }, + { "command": "open_recent_file", "args": {"index": 6 } }, + { "command": "open_recent_file", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "open_recent_folder", "args": {"index": 0 } }, + { "command": "open_recent_folder", "args": {"index": 1 } }, + { "command": "open_recent_folder", "args": {"index": 2 } }, + { "command": "open_recent_folder", "args": {"index": 3 } }, + { "command": "open_recent_folder", "args": {"index": 4 } }, + { "command": "open_recent_folder", "args": {"index": 5 } }, + { "command": "open_recent_folder", "args": {"index": 6 } }, + { "command": "open_recent_folder", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "clear_recent_files", "caption": "清除記錄" } + ] + }, + { + "caption": "重新用...編碼打開", + "children": + [ + { "caption": "UTF-8", "command": "reopen", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-16 LE", "command": "reopen", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 BE", "command": "reopen", "args": {"encoding": "utf-16 be" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "reopen", "args": {"encoding": "Hexadecimal" } } + ] + }, + { "command": "clone_file", "caption": "克隆文件(E)", "mnemonic": "E" }, + { "command": "save", "caption": "保存(S)", "mnemonic": "S" }, + { + "caption": "以...編碼保存", + "children": + [ + { "caption": "UTF-8", "command": "save", "args": {"encoding": "utf-8" } }, + { "caption": "UTF-8 with BOM", "command": "save", "args": {"encoding": "utf-8 with bom" } }, + { "caption": "UTF-16 LE", "command": "save", "args": {"encoding": "utf-16 le" } }, + { "caption": "UTF-16 LE with BOM", "command": "save", "args": {"encoding": "utf-16 le with bom" } }, + { "caption": "UTF-16 BE", "command": "save", "args": {"encoding": "utf-16 be" } }, + { "caption": "UTF-16 BE with BOM", "command": "save", "args": {"encoding": "utf-16 be with bom" } }, + { "caption": "-" }, + { "caption": "Western (Windows 1252)", "command": "save", "args": {"encoding": "Western (Windows 1252)" } }, + { "caption": "Western (ISO 8859-1)", "command": "save", "args": {"encoding": "Western (ISO 8859-1)" } }, + { "caption": "Western (ISO 8859-3)", "command": "save", "args": {"encoding": "Western (ISO 8859-3)" } }, + { "caption": "Western (ISO 8859-15)", "command": "save", "args": {"encoding": "Western (ISO 8859-15)" } }, + { "caption": "Western (Mac Roman)", "command": "save", "args": {"encoding": "Western (Mac Roman)" } }, + { "caption": "DOS (CP 437)", "command": "save", "args": {"encoding": "DOS (CP 437)" } }, + { "caption": "Arabic (Windows 1256)", "command": "save", "args": {"encoding": "Arabic (Windows 1256)" } }, + { "caption": "Arabic (ISO 8859-6)", "command": "save", "args": {"encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "Baltic (Windows 1257)", "command": "save", "args": {"encoding": "Baltic (Windows 1257)" } }, + { "caption": "Baltic (ISO 8859-4)", "command": "save", "args": {"encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "Celtic (ISO 8859-14)", "command": "save", "args": {"encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "Central European (Windows 1250)", "command": "save", "args": {"encoding": "Central European (Windows 1250)" } }, + { "caption": "Central European (ISO 8859-2)", "command": "save", "args": {"encoding": "Central European (ISO 8859-2)" } }, + { "caption": "Cyrillic (Windows 1251)", "command": "save", "args": {"encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "Cyrillic (Windows 866)", "command": "save", "args": {"encoding": "Cyrillic (Windows 866)" } }, + { "caption": "Cyrillic (ISO 8859-5)", "command": "save", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "Cyrillic (KOI8-R)", "command": "save", "args": {"encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "Cyrillic (KOI8-U)", "command": "save", "args": {"encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "Estonian (ISO 8859-13)", "command": "save", "args": {"encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "Greek (Windows 1253)", "command": "save", "args": {"encoding": "Greek (Windows 1253)" } }, + { "caption": "Greek (ISO 8859-7)", "command": "save", "args": {"encoding": "Greek (ISO 8859-7)" } }, + { "caption": "Hebrew (Windows 1255)", "command": "save", "args": {"encoding": "Hebrew (Windows 1255)" } }, + { "caption": "Hebrew (ISO 8859-8)", "command": "save", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "Nordic (ISO 8859-10)", "command": "save", "args": {"encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "Romanian (ISO 8859-16)", "command": "save", "args": {"encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "Turkish (Windows 1254)", "command": "save", "args": {"encoding": "Turkish (Windows 1254)" } }, + { "caption": "Turkish (ISO 8859-9)", "command": "save", "args": {"encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "Vietnamese (Windows 1258)", "command": "save", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "-" }, + { "caption": "Hexadecimal", "command": "save", "args": {"encoding": "Hexadecimal" } } + ] + }, + { "command": "prompt_save_as", "caption": "另存為(A)…", "mnemonic": "A" }, + { "command": "save_all", "caption": "保存全部(L)", "mnemonic": "L" }, + { "caption": "-", "id": "window" }, + { "command": "new_window", "caption": "新建窗口(W)", "mnemonic": "W" }, + { "command": "close_window", "caption": "關閉窗口" }, + { "caption": "-", "id": "close" }, + { "command": "close", "caption": "關閉文件(C)", "mnemonic": "C" }, + { "command": "revert", "caption": "恢復文件(V)", "mnemonic": "V" }, + { "command": "close_all", "caption": "關閉所有文件" }, + { "caption": "-", "id": "exit" }, + { "command": "exit", "caption": "退出(X)", "mnemonic": "X" } + ] + }, + { + "caption": "編輯(E)", + "mnemonic": "E", + "id": "edit", + "children": + [ + { "command": "undo", "caption": "撤銷(U)", "mnemonic": "U" }, + { "command": "redo_or_repeat", "caption": "重做(R)", "mnemonic": "R" }, + { + "caption": "撤銷選擇", + "children": + [ + { "command": "soft_undo", "caption": "軟撤銷" }, + { "command": "soft_redo", "caption": "軟重做" } + ] + }, + { "caption": "-", "id": "clipboard" }, + { "command": "copy", "caption": "復制(C)", "mnemonic": "C" }, + { "command": "cut", "caption": "剪切(N)", "mnemonic": "N" }, + { "command": "paste", "caption": "粘貼(P)", "mnemonic": "P" }, + { "command": "paste_and_indent", "caption": "粘貼並縮進(I)", "mnemonic": "I" }, + { "command": "paste_from_history", "caption": "從剪切板粘貼" }, + { "caption": "-" }, + { + "caption": "行(L)", "mnemonic": "L", + "id": "line", + "children": + [ + { "command": "indent", "caption": "縮進" }, + { "command": "unindent" , "caption": "不縮進" }, + { "command": "reindent", "args": {"single_line": true} , "caption": "重新縮進" }, + { "command": "swap_line_up", "caption": "向上切換行" }, + { "command": "swap_line_down", "caption": "向下切換行"}, + { "command": "duplicate_line", "caption": "重復行" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"}, "caption": "刪除行" }, + { "command": "join_lines", "caption": "合並行" } + ] + }, + { + "caption": "註釋(M)", "mnemonic": "M", + "id": "comment", + "children": + [ + { "command": "toggle_comment", "args": {"block": false}, "caption": "開啟/關閉註釋" }, + { "command": "toggle_comment", "args": {"block": true}, "caption": "開啟/關閉區段註釋" } + ] + }, + { + "caption": "文本(T)", "mnemonic": "T", + "id": "text", + "children": + [ + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"}, "caption": "插入行之前" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Add Line.sublime-macro"}, "caption": "插入行之後" }, + { "caption": "-" }, + { "command": "delete_word", "args": { "forward": true }, "caption": "向前刪除單詞" }, + { "command": "delete_word", "args": { "forward": false }, "caption": "向後刪除單詞" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"}, "caption": "刪除行" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard EOL.sublime-macro"}, "caption": "刪除到末尾" }, + { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete to Hard BOL.sublime-macro"}, "caption": "刪除到開始" }, + { "caption": "-" }, + { "command": "transpose", "caption": "換位" } + ] + }, + { + "caption": "標簽", + "id": "tag", + "children": + [ + { "command": "close_tag", "caption": "關閉標簽" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展開選擇到標簽" }, + { "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" }, "caption": "用標簽自動換行選擇" } + ] + }, + { + "caption": "標記", + "id": "mark", + "children": + [ + { "command": "set_mark", "caption": "設置標記" }, + { "command": "select_to_mark", "caption": "選擇到標記" }, + { "command": "delete_to_mark", "caption": "刪除到標記" }, + { "command": "swap_with_mark", "caption": "互換標記" }, + { "command": "clear_bookmarks", "args": {"name": "mark"}, "caption": "清除標記" }, + { "caption": "-" }, + { "command": "yank" , "caption": "抽出" } + ] + }, + { + "caption": "代碼折疊", + "id": "fold", + "children": + [ + { "command": "fold", "caption": "折疊" }, + { "command": "unfold", "caption": "展開" }, + { "command": "unfold_all", "caption": "展開全部" }, + { "caption": "-" }, + { "caption": "折疊全部", "command": "fold_by_level", "args": {"level": 1} }, + { "caption": "折疊 2 層", "command": "fold_by_level", "args": {"level": 2} }, + { "caption": "折疊 3 層", "command": "fold_by_level", "args": {"level": 3} }, + { "caption": "折疊 4 層", "command": "fold_by_level", "args": {"level": 4} }, + { "caption": "折疊 5 層", "command": "fold_by_level", "args": {"level": 5} }, + { "caption": "折疊 6 層", "command": "fold_by_level", "args": {"level": 6} }, + { "caption": "折疊 7 層", "command": "fold_by_level", "args": {"level": 7} }, + { "caption": "折疊 8 層", "command": "fold_by_level", "args": {"level": 8} }, + { "caption": "折疊 9 層", "command": "fold_by_level", "args": {"level": 9} }, + { "caption": "-" }, + { "command": "fold_tag_attributes", "caption": "折疊標簽屬性" } + ] + }, + { + "caption": "轉換大小寫(A)", "mnemonic": "A", + "id": "convert_case", + "children": + [ + { "command": "title_case", "caption": "首字母大寫" }, + { "command": "upper_case", "caption": "大寫" }, + { "command": "lower_case", "caption": "小寫" }, + { "command": "swap_case", "caption": "交換大小寫" } + ] + }, + { + "caption": "自動換行", + "id": "wrap", + "children": + [ + { "command": "wrap_lines", "caption": "自動換行段落在標尺" }, + { "command": "wrap_lines", "args": {"width": 70}, "caption": "自動換行段落在 70 個字符" }, + { "command": "wrap_lines", "args": {"width": 78}, "caption": "自動換行段落在 78 個字符" }, + { "command": "wrap_lines", "args": {"width": 80}, "caption": "自動換行段落在 80 個字符" }, + { "command": "wrap_lines", "args": {"width": 100}, "caption": "自動換行段落在 100 個字符" }, + { "command": "wrap_lines", "args": {"width": 120}, "caption": "自動換行段落在 120 個字符" } + ] + }, + { "command": "auto_complete", "caption": "顯示完成" }, + { "caption": "-", "id": "permute" }, + + { "command": "sort_lines", "args": {"case_sensitive": false}, "caption": "行排序(S)", "mnemonic": "S" }, + { "command": "sort_lines", "args": {"case_sensitive": true}, "caption": "行排序(區分大小寫)" }, + { + "caption": "更改行的序列", + "children": + [ + { "command": "permute_lines", "args": {"operation": "reverse"}, "caption": "反向" }, + { "command": "permute_lines", "args": {"operation": "unique"}, "caption": "唯一" }, + { "command": "permute_lines", "args": {"operation": "shuffle"}, "caption": "無序" } + ] + }, + { + "caption": "更改選擇內容的序列", + "children": + [ + { "command": "sort_selection", "args": {"case_sensitive": false}, "caption": "排序" }, + { "command": "sort_selection", "args": {"case_sensitive": true}, "caption": "排序(區分大小寫)" }, + { "command": "permute_selection", "args": {"operation": "reverse"}, "caption": "反向" }, + { "command": "permute_selection", "args": {"operation": "unique"}, "caption": "唯一" }, + { "command": "permute_selection", "args": {"operation": "shuffle"}, "caption": "無序" } + ] + }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "選擇(S)", + "mnemonic": "S", + "id": "selection", + "children": + [ + { "command": "split_selection_into_lines", "caption": "拆分為行" }, + { "command": "select_lines", "args": {"forward": false}, "caption": "添加前一行" }, + { "command": "select_lines", "args": {"forward": true}, "caption": "添加下一行" }, + { "command": "single_selection", "caption": "單獨選擇" }, + { "command": "invert_selection", "caption": "反向選擇" }, + { "caption": "-" }, + { "command": "select_all", "caption": "選擇全部" }, + { "command": "expand_selection", "args": {"to": "line"}, "caption": "展開選定行" }, + { "command": "find_under_expand", "caption": "展開選定單詞" }, + { "command": "expand_selection_to_paragraph", "caption": "展開選定段落" }, + { "command": "expand_selection", "args": {"to": "scope"}, "caption": "展開選定範圍" }, + { "command": "expand_selection", "args": {"to": "brackets"}, "caption": "展開選定括號" }, + { "command": "expand_selection", "args": {"to": "indentation"}, "caption": "展開選定縮進" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展開選定標簽" } + ] + }, + { + "caption": "查找(I)", + "mnemonic": "I", + "id": "find", + "children": + [ + { "command": "show_panel", "args": {"panel": "find", "reverse": false}, "caption": "查找…" }, + { "command": "find_next", "caption": "查找下一個" }, + { "command": "find_prev", "caption": "查找前一個" }, + { "command": "show_panel", "args": {"panel": "incremental_find", "reverse": false}, "caption": "增量查找" }, + { "caption": "-" }, + { "command": "show_panel", "args": {"panel": "replace", "reverse": false}, "caption": "替換…" }, + { "command": "replace_next", "caption": "替換下一個" }, + { "caption": "-" }, + { "command": "find_under", "caption": "快速查找" }, + { "command": "find_all_under", "caption": "快速查找全部" }, + { "command": "find_under_expand", "caption": "快速添加下一個" }, + { "command": "find_under_expand_skip", "caption": "快速跳到下一個", "platform": "!OSX" }, + { "caption": "-" }, + { "command": "slurp_find_string", "caption": "使用所選內容查找" }, + { "command": "slurp_replace_string", "caption": "使用所選內容替換" }, + { "caption": "-" }, + { "command": "show_panel", "args": {"panel": "find_in_files"}, "caption": "在文件中查找…" }, + { + "caption": "查找結果(R)", + "mnemonic": "R", + "children": + [ + { "command": "show_panel", "args": {"panel": "output.find_results"}, "caption": "顯示結果面板" }, + { "command": "next_result", "caption": "下一結果" }, + { "command": "prev_result", "caption": "前一結果" } + ] + } + ] + }, + { + "caption": "查看(V)", + "mnemonic": "V", + "id": "view", + "children": + [ + { + "caption": "側邊欄", + "id": "side_bar", + "children": + [ + { "command": "toggle_side_bar", "caption": "顯示/隱藏側邊欄" }, + { "caption": "-" }, + { "command": "toggle_show_open_files", "caption": "顯示打開的文件" } + ] + }, + { "command": "toggle_minimap", "caption": "顯示/隱藏迷你地圖" }, + { "command": "toggle_tabs", "caption": "顯示/隱藏標簽頁" }, + { "command": "toggle_status_bar", "caption": "顯示/隱藏狀態欄" }, + { "command": "toggle_menu", "caption": "顯示/隱藏菜單" }, + { "command": "show_panel", "args": {"panel": "console", "toggle": true}, "caption": "顯示/隱藏控制臺" }, + { "caption": "-", "id": "full_screen" }, + { "command": "toggle_full_screen", "caption": "進入/退出全屏" }, + { "command": "toggle_distraction_free", "caption": "進入/退出無幹擾模式" }, + { "caption": "-", "id": "groups" }, + { + "caption": "布局(L)", + "mnemonic": "L", + "id": "layout", + "children": + [ + { + "caption": "單獨", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1]] + } + }, + { + "caption": "列: 2", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.5, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1]] + } + }, + { + "caption": "列: 3", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.33, 0.66, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]] + } + }, + { + "caption": "列: 4", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.25, 0.5, 0.75, 1.0], + "rows": [0.0, 1.0], + "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]] + } + }, + { + "caption": "行: 2", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 0.5, 1.0], + "cells": [[0, 0, 1, 1], [0, 1, 1, 2]] + } + }, + { + "caption": "行: 3", + "command": "set_layout", + "args": + { + "cols": [0.0, 1.0], + "rows": [0.0, 0.33, 0.66, 1.0], + "cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]] + } + }, + { + "caption": "網格: 4", + "command": "set_layout", + "args": + { + "cols": [0.0, 0.5, 1.0], + "rows": [0.0, 0.5, 1.0], + "cells": + [ + [0, 0, 1, 1], [1, 0, 2, 1], + [0, 1, 1, 2], [1, 1, 2, 2] + ] + } + } + ] + }, + { + "caption": "組", + "children": + [ + { "command": "new_pane", "caption": "文件移到新組" }, + { "command": "new_pane", "args": {"move": false}, "caption": "新建組" }, + { "command": "close_pane", "caption": "關閉組" }, + + { "caption": "-" }, + + { + "caption": "最大列數: 1", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 1 } + }, + { + "caption": "最大列數: 2", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 2 } + }, + { + "caption": "最大列數: 3", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 3 } + }, + { + "caption": "最大列數: 4", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 4 } + }, + { + "caption": "最大列數: 5", + "command": "set_max_columns", + "checkbox": true, + "args": { "columns": 5 } + } + ] + }, + { + "caption": "焦點分組(F)", + "mnemonic": "F", + "children": + [ + + { "command": "focus_neighboring_group", "caption": "下一個" }, + { "command": "focus_neighboring_group", "args": {"forward": false}, "caption": "上一個" }, + { "caption": "-" }, + { "command": "focus_group", "args": {"group": 0}, "caption": "分組 1" }, + { "command": "focus_group", "args": {"group": 1}, "caption": "分組 2" }, + { "command": "focus_group", "args": {"group": 2}, "caption": "分組 3" }, + { "command": "focus_group", "args": {"group": 3}, "caption": "分組 4" } + ] + }, + { + "caption": "移動文件到分組(M)", + "mnemonic": "M", + "children": + [ + { "command": "move_to_neighboring_group", "caption": "下一個" }, + { "command": "move_to_neighboring_group", "args": {"forward": false}, "caption": "上一個" }, + { "caption": "-" }, + { "command": "move_to_group", "args": {"group": 0}, "caption": "分組 1" }, + { "command": "move_to_group", "args": {"group": 1}, "caption": "分組 2" }, + { "command": "move_to_group", "args": {"group": 2}, "caption": "分組 3" }, + { "command": "move_to_group", "args": {"group": 3}, "caption": "分組 4" } + ] + }, + { "caption": "-" }, + { + "caption": "語法(S)", + "mnemonic": "S", + "id": "syntax", + "children": [ { "command": "$file_types" } ] + }, + { + "caption": "縮進(I)", + "mnemonic": "I", + "id": "indentation", + "children": + [ + { "command": "toggle_setting", "args": {"setting": "translate_tabs_to_spaces"}, "caption": "使用空格縮進", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 1}, "caption": "Tab寬度: 1", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 2}, "caption": "Tab寬度: 2", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 3}, "caption": "Tab寬度: 3", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 4}, "caption": "Tab寬度: 4", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 5}, "caption": "Tab寬度: 5", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 6}, "caption": "Tab寬度: 6", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 7}, "caption": "Tab寬度: 7", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "tab_size", "value": 8}, "caption": "Tab寬度: 8", "checkbox": true }, + { "caption": "-" }, + { "command": "detect_indentation", "caption": "猜測來自緩沖區的設置" }, + { "caption": "-" }, + { "command": "expand_tabs", "caption": "轉換縮進為空格", "args": {"set_translate_tabs": true} }, + { "command": "unexpand_tabs", "caption": "轉換縮進為tab", "args": {"set_translate_tabs": true} } + ] + }, + { + "caption": "行結束符(N)", + "mnemonic": "N", + "id": "line_endings", + "children": + [ + { "command": "set_line_ending", "args": {"type": "windows"}, "caption": "Windows", "checkbox": true }, + { "command": "set_line_ending", "args": {"type": "unix"}, "caption": "Unix", "checkbox": true }, + { "command": "set_line_ending", "args": {"type": "cr"}, "caption": "Mac OS 9", "checkbox": true } + ] + }, + { "caption": "-", "id": "settings" }, + { "command": "toggle_setting", "args": {"setting": "word_wrap"}, "caption": "自動換行(W)", "mnemonic": "W", "checkbox": true }, + { + "caption": "自動換行列", + "children": + [ + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 0}, "caption": "自動", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 70}, "caption": "70", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 78}, "caption": "78", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 80}, "caption": "80", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 100}, "caption": "100", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "wrap_width", "value": 120}, "caption": "120", "checkbox": true } + ] + }, + { + "caption": "標尺", + "children": + [ + { "command": "set_setting", "args": {"setting": "rulers", "value": []}, "caption": "無", "checkbox": true }, + { "caption": "-" }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [70]}, "caption": "70", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [78]}, "caption": "78", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [80]}, "caption": "80", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [100]}, "caption": "100", "checkbox": true }, + { "command": "set_setting", "args": {"setting": "rulers", "value": [120]}, "caption": "120", "checkbox": true } + ] + }, + { "caption": "-" }, + { "command": "toggle_setting", "args": {"setting": "spell_check"}, "caption": "拼寫檢查", "checkbox": true }, + { "command": "next_misspelling", "caption": "下一拼寫錯誤" }, + { "command": "prev_misspelling", "caption": "前一拼寫錯誤" }, + { + "caption": "詞典", + "children": [ { "command": "$dictionaries" } ] + } + ] + }, + { + "caption": "轉到(G)", + "mnemonic": "G", + "id": "goto", + "children": + [ + { "command": "show_overlay", "args": {"overlay": "goto", "show_files": true}, "caption": "轉到任何(A)…", "mnemonic": "A" }, + { "caption": "-" }, + { "command": "show_overlay", "args": {"overlay": "goto", "text": "@"}, "caption": "轉到符號…" }, + { "command": "goto_symbol_in_project", "caption": "轉到項目中符號…" }, + { "command": "goto_definition", "caption": "轉到預定義…" }, + // { "command": "show_overlay", "args": {"overlay": "goto", "text": "#"}, "caption": "轉到單詞…" }, + { "command": "show_overlay", "args": {"overlay": "goto", "text": ":"}, "caption": "轉到行…" }, + { "caption": "-" }, + { "command": "jump_back", "caption": "跳回" }, + { "command": "jump_forward", "caption": "跳至" }, + { "caption": "-" }, + { + "caption": "切換文件(T)", + "mnemonic": "T", + "id": "switch_file", + "children": + [ + { "command": "next_view", "caption": "下一文件" }, + { "command": "prev_view", "caption": "上一文件" }, + { "caption": "-" }, + { "command": "next_view_in_stack", "caption": "在堆棧中的下一文件" }, + { "command": "prev_view_in_stack", "caption": "在堆棧中的前一文件" }, + { "caption": "-" }, + { "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]}, "caption": "切換標題/實施(H)", "mnemonic": "H" }, + { "caption": "-" }, + { "command": "select_by_index", "args": { "index": 0 } }, + { "command": "select_by_index", "args": { "index": 1 } }, + { "command": "select_by_index", "args": { "index": 2 } }, + { "command": "select_by_index", "args": { "index": 3 } }, + { "command": "select_by_index", "args": { "index": 4 } }, + { "command": "select_by_index", "args": { "index": 5 } }, + { "command": "select_by_index", "args": { "index": 6 } }, + { "command": "select_by_index", "args": { "index": 7 } }, + { "command": "select_by_index", "args": { "index": 8 } }, + { "command": "select_by_index", "args": { "index": 9 } } + ] + }, + { "caption": "-" }, + { + "caption": "滾動(S)", + "mnemonic": "S", + "id": "scroll", + "children": + [ + { "command": "show_at_center", "caption": "滾動到選擇" }, + { "command": "scroll_lines", "args": {"amount": 1.0 }, "caption": "向上一行" }, + { "command": "scroll_lines", "args": {"amount": -1.0 }, "caption": "向下一行" } + ] + }, + { + "caption": "書簽(B)", + "mnemonic": "B", + "id": "bookmarks", + "children": + [ + { "command": "toggle_bookmark", "caption": "開啟/關閉書簽" }, + { "command": "next_bookmark", "caption": "下一書簽" }, + { "command": "prev_bookmark", "caption": "前一書簽" }, + { "command": "clear_bookmarks", "caption": "清除書簽" }, + { "command": "select_all_bookmarks", "caption": "選擇所有書簽" }, + { "caption": "-" }, + { "command": "select_bookmark", "args": {"index": 0} }, + { "command": "select_bookmark", "args": {"index": 1} }, + { "command": "select_bookmark", "args": {"index": 2} }, + { "command": "select_bookmark", "args": {"index": 3} }, + { "command": "select_bookmark", "args": {"index": 4} }, + { "command": "select_bookmark", "args": {"index": 5} }, + { "command": "select_bookmark", "args": {"index": 6} }, + { "command": "select_bookmark", "args": {"index": 7} }, + { "command": "select_bookmark", "args": {"index": 8} }, + { "command": "select_bookmark", "args": {"index": 9} }, + { "command": "select_bookmark", "args": {"index": 10} }, + { "command": "select_bookmark", "args": {"index": 11} }, + { "command": "select_bookmark", "args": {"index": 12} }, + { "command": "select_bookmark", "args": {"index": 13} }, + { "command": "select_bookmark", "args": {"index": 14} }, + { "command": "select_bookmark", "args": {"index": 15} } + ] + }, + { "caption": "-" }, + { "command": "move_to", "args": {"to": "brackets"}, "caption": "跳轉到匹配的括號" } + ] + }, + { + "caption": "工具(T)", + "mnemonic": "T", + "id": "tools", + "children": + [ + { "command": "show_overlay", "args": {"overlay": "command_palette"}, "caption": "命令面板…" }, + { "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Snippet: "}, "caption": "代碼段…" }, + { "caption": "-", "id": "build" }, + { + "caption": "編譯系統(U)", + "mnemonic": "U", + "children": + [ + { "command": "set_build_system", "args": { "file": "" }, "caption": "自動", "checkbox": true }, + { "caption": "-" }, + { "command": "set_build_system", "args": {"index": 0}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 1}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 2}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 3}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 4}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 5}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 6}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 7}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 8}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 9}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 10}, "checkbox": true }, + { "command": "set_build_system", "args": {"index": 11}, "checkbox": true }, + { "caption": "-" }, + { "command": "$build_systems" }, + { "caption": "-" }, + { "command": "new_build_system", "caption": "新編譯系統…" } + ] + }, + { "command": "build", "caption": "編譯(B)", "mnemonic": "B" }, + { "command": "build", "args": {"select": true}, "caption": "用…編譯" }, + { "command": "exec", "args": {"kill": true}, "caption": "取消編譯(C)", "mnemonic": "C" }, + { + "caption": "編譯結果(R)", + "mnemonic": "R", + "children": + [ + { "command": "show_panel", "args": {"panel": "output.exec"}, "caption": "顯示編譯結果(S)", "mnemonic": "S" }, + { "command": "next_result", "caption": "下一結果(N)", "mnemonic": "N" }, + { "command": "prev_result", "caption": "前一結果(P)", "mnemonic": "P" } + ] + }, + { "command": "toggle_save_all_on_build", "caption": "保存所有有關編譯(A)", "mnemonic": "A", "checkbox": true }, + { "caption": "-", "id": "macros" }, + { "command": "toggle_record_macro", "caption": "錄制宏(M)", "mnemonic": "M" }, + { "command": "run_macro", "caption": "播放宏(P)", "mnemonic": "P" }, + { "command": "save_macro", "caption": "保存宏(V)…", "mnemonic": "V" }, + { + "caption": "宏", + "children": [ { "command": "$macros" } ] + }, + { "caption": "-" }, + { "command": "new_plugin", "caption": "新插件…" }, + { "command": "new_snippet", "caption": "新代碼段…" }, + { "caption": "-", "id": "end" } + ] + }, + { + "caption": "項目(P)", + "id": "project", + "mnemonic": "P", + "children": + [ + { "command": "prompt_open_project_or_workspace", "caption": "打開項目(O)…" }, + { "command": "prompt_switch_project_or_workspace", "caption": "切換項目…" }, + { "command": "prompt_select_workspace", "caption": "快速切換項目(S)…", "mnemonic": "S" }, + { + "caption": "最近項目(R)", + "children": + [ + { "command": "open_recent_project_or_workspace", "args": {"index": 0 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 1 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 2 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 3 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 4 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 5 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 6 } }, + { "command": "open_recent_project_or_workspace", "args": {"index": 7 } }, + { "caption": "-" }, + { "command": "clear_recent_workspaces", "caption": "清除項目" } + ] + }, + { "caption": "-" }, + { "command": "save_project_and_workspace_as", "caption": "另存項目為(A)…", "mnemonic": "A" }, + { "command": "close_workspace", "caption": "關閉項目(C)", "mnemonic": "C" }, + { "command": "open_file", "args": {"file": "${project}"}, "caption": "編輯項目" }, + { "caption": "-" }, + { "command": "new_window_for_project", "caption": "工作區切換項目" }, + { "command": "save_workspace_as", "caption": "工作區另存為(A)...", "mnemonic": "A" }, + { "caption": "-" }, + { "command": "prompt_add_folder", "caption": "添加文件夾到項目(D)…", "mnemonic": "D" }, + { "command": "close_folder_list", "caption": "從項目刪除所有文件夾(M)", "mnemonic": "M" }, + { "command": "refresh_folder_list", "caption": "刷新文件夾(E)", "mnemonic": "E" } + ] + }, + { + "caption": "首選項(N)", + "mnemonic": "N", + "id": "preferences", + "children": + [ + { "command": "open_dir", "args": {"dir": "$packages"}, "caption": "瀏覽程序包(B)…", "mnemonic": "B" }, + { "caption": "-" }, + { "command": "open_file", "args": {"file": "${packages}/Default/Preferences.sublime-settings"}, "caption": "設置 – 默認" }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Preferences.sublime-settings", + "contents": "// Settings in here override those in \"Default/Preferences.sublime-settings\",\n// and are overridden in turn by file type specific settings.\n{\n\t$0\n}\n" + }, + "caption": "設置 – 用戶" + }, + { + "caption": "設置 – 更多", + "children": + [ + { "command": "open_file_settings", "caption": "特定語法 – 用戶" }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Distraction Free.sublime-settings", + "contents": "{\n\t$0\n}\n" + }, + "caption": "無幹擾模式 – 用戶" + } + ] + }, + { "caption": "-" }, + { + "command": "open_file", "args": + { + "file": "${packages}/Default/Default ($platform).sublime-keymap" + }, + "caption": "按鍵綁定 – 默認" + }, + { + "command": "open_file", "args": + { + "file": "${packages}/User/Default ($platform).sublime-keymap", + "contents": "[\n\t$0\n]\n" + }, + "caption": "按鍵綁定 – 用戶" + }, + { "caption": "-" }, + { + "caption": "字體", + "children": + [ + { "command": "increase_font_size", "caption": "較大" }, + { "command": "decrease_font_size", "caption": "較小" }, + { "caption": "-" }, + { "command": "reset_font_size", "caption": "重置" } + ] + }, + { + "caption": "配色方案", + "children": [ { "command": "$color_schemes" } ] + } + ] + }, + { + "caption": "幫助(H)", + "mnemonic": "H", + "id": "help", + "children": + [ + { "command": "open_url", "args": {"url": "http://www.sublimetext.com/docs/3/"}, "caption": "文檔" }, + { "command": "open_url", "args": {"url": "http://twitter.com/sublimehq"}, "caption": "Twitter" }, + { "command": "open_url", "args": {"url": "http://i.rexdf.org"}, "caption": "漢化 by Rexdf" }, + { "caption": "-" }, + { "command": "purchase_license"}, + { "command": "show_license_window", "caption": "輸入註冊碼" }, + { "command": "remove_license", "caption": "刪除註冊信息"}, + { "caption": "-" }, + { "command": "update_check", "caption": "檢查更新…", "platform": "!Linux" }, + { "command": "show_changelog", "caption": "升級日誌…" }, + { "command": "show_about_window", "caption": "關於 Sublime Text(A)", "mnemonic": "A" } + ] + } +] diff --git a/ZH_TW/Side Bar Mount Point.sublime-menu b/ZH_TW/Side Bar Mount Point.sublime-menu new file mode 100755 index 0000000..770cc1b --- /dev/null +++ b/ZH_TW/Side Bar Mount Point.sublime-menu @@ -0,0 +1,4 @@ +[ + { "caption": "-", "id": "folder_commands" }, + { "caption": "從項目中刪除", "command": "remove_folder", "args": { "dirs": []} } +] diff --git a/ZH_TW/Side Bar.sublime-menu b/ZH_TW/Side Bar.sublime-menu new file mode 100755 index 0000000..3a5e0b9 --- /dev/null +++ b/ZH_TW/Side Bar.sublime-menu @@ -0,0 +1,11 @@ +[ + { "caption": "新建文件", "command": "new_file_at", "args": {"dirs": []} }, + { "caption": "重命名…", "command": "rename_path", "args": {"paths": []} }, + { "caption": "刪除文件", "command": "delete_file", "args": {"files": []} }, + { "caption": "打開所在文件夾…", "command": "open_containing_folder", "args": {"files": []} }, + { "caption": "-", "id": "folder_commands" }, + { "caption": "新建文件夾…", "command": "new_folder", "args": {"dirs": []} }, + { "caption": "刪除文件夾", "command": "delete_folder", "args": {"dirs": []} }, + { "caption": "在文件夾中查找…", "command": "find_in_folder", "args": {"dirs": []} }, + { "caption": "-", "id": "end" } +] diff --git a/ZH_TW/Syntax.sublime-menu b/ZH_TW/Syntax.sublime-menu new file mode 100755 index 0000000..72bbc14 --- /dev/null +++ b/ZH_TW/Syntax.sublime-menu @@ -0,0 +1,6 @@ +[ + { + "caption": "語法", + "children": [ { "command": "$file_types" } ] + } +] diff --git a/ZH_TW/Tab Context.sublime-menu b/ZH_TW/Tab Context.sublime-menu new file mode 100755 index 0000000..f2d137b --- /dev/null +++ b/ZH_TW/Tab Context.sublime-menu @@ -0,0 +1,8 @@ +[ + { "command": "close_by_index", "args": { "group": -1, "index": -1 }, "caption": "關閉" }, + { "command": "close_others_by_index", "args": { "group": -1, "index": -1 }, "caption": "關閉其他" }, + { "command": "close_to_right_by_index", "args": { "group": -1, "index": -1 }, "caption": "關閉右側選項卡" }, + { "caption": "-" }, + { "command": "new_file", "caption": "新建文件" }, + { "command": "prompt_open_file", "caption": "打開文件" } +] diff --git a/ZH_TW/Widget Context.sublime-menu b/ZH_TW/Widget Context.sublime-menu new file mode 100755 index 0000000..8850352 --- /dev/null +++ b/ZH_TW/Widget Context.sublime-menu @@ -0,0 +1,7 @@ +[ + { "command": "copy", "caption": "復制" }, + { "command": "cut", "caption": "剪切" }, + { "command": "paste", "caption": "粘貼" }, + { "caption": "-" }, + { "command": "select_all", "caption": "全選" } +] From 444bec596a9588fc830375e3d2627344260bad51 Mon Sep 17 00:00:00 2001 From: Patrick T Date: Mon, 22 Jun 2015 13:24:01 +0800 Subject: [PATCH 08/14] Update Context.sublime-menu --- ZH_TW/Context.sublime-menu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ZH_TW/Context.sublime-menu b/ZH_TW/Context.sublime-menu index 7463cab..8b2a7ec 100755 --- a/ZH_TW/Context.sublime-menu +++ b/ZH_TW/Context.sublime-menu @@ -2,7 +2,7 @@ { "command": "open_context_url", "caption": "打開網址" }, { "command": "context_goto_definition", "caption": "轉到定義" }, { "caption": "-", "id": "clipboard" }, - { "command": "copy", "caption": "復制" }, + { "command": "copy", "caption": "複製" }, { "command": "cut", "caption": "剪切" }, { "command": "paste", "caption": "粘貼" }, { "caption": "-", "id": "selection" }, @@ -10,7 +10,7 @@ { "caption": "-", "id": "file" }, { "command": "open_in_browser", "caption": "在瀏覽器中打開" }, { "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "打開所在文件夾…" }, - { "command": "copy_path", "caption": "復制文件路徑" }, + { "command": "copy_path", "caption": "複製文件路徑" }, { "command": "reveal_in_side_bar", "caption": "在側邊欄顯示" }, { "caption": "-", "id": "end" } -] \ No newline at end of file +] From f77a286fa8fe20bf0a6dd6960369bd98e6355431 Mon Sep 17 00:00:00 2001 From: Patrick T Date: Mon, 22 Jun 2015 13:22:04 +0800 Subject: [PATCH 09/14] Update Widget Context.sublime-menu --- ZH_TW/Widget Context.sublime-menu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZH_TW/Widget Context.sublime-menu b/ZH_TW/Widget Context.sublime-menu index 8850352..cc21246 100755 --- a/ZH_TW/Widget Context.sublime-menu +++ b/ZH_TW/Widget Context.sublime-menu @@ -1,5 +1,5 @@ [ - { "command": "copy", "caption": "復制" }, + { "command": "copy", "caption": "複製" }, { "command": "cut", "caption": "剪切" }, { "command": "paste", "caption": "粘貼" }, { "caption": "-" }, From 006b641ad990684bfe6bf3c7882f99e38a6b84ac Mon Sep 17 00:00:00 2001 From: Patrick T Date: Tue, 23 Jun 2015 17:52:29 +0800 Subject: [PATCH 10/14] Update Main.sublime-menu --- ZH_TW/Main.sublime-menu | 62 ++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/ZH_TW/Main.sublime-menu b/ZH_TW/Main.sublime-menu index a66d65d..8a59dd7 100755 --- a/ZH_TW/Main.sublime-menu +++ b/ZH_TW/Main.sublime-menu @@ -153,7 +153,7 @@ ] }, { "caption": "-", "id": "clipboard" }, - { "command": "copy", "caption": "復制(C)", "mnemonic": "C" }, + { "command": "copy", "caption": "複製(C)", "mnemonic": "C" }, { "command": "cut", "caption": "剪切(N)", "mnemonic": "N" }, { "command": "paste", "caption": "粘貼(P)", "mnemonic": "P" }, { "command": "paste_and_indent", "caption": "粘貼並縮進(I)", "mnemonic": "I" }, @@ -171,7 +171,7 @@ { "command": "swap_line_down", "caption": "向下切換行"}, { "command": "duplicate_line", "caption": "重復行" }, { "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"}, "caption": "刪除行" }, - { "command": "join_lines", "caption": "合並行" } + { "command": "join_lines", "caption": "合併行" } ] }, { @@ -201,13 +201,13 @@ ] }, { - "caption": "標簽", + "caption": "標籤", "id": "tag", "children": [ - { "command": "close_tag", "caption": "關閉標簽" }, - { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展開選擇到標簽" }, - { "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" }, "caption": "用標簽自動換行選擇" } + { "command": "close_tag", "caption": "關閉標籤" }, + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展開選擇到標籤" }, + { "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" }, "caption": "用標籤自動換行選擇" } ] }, { @@ -225,25 +225,25 @@ ] }, { - "caption": "代碼折疊", + "caption": "代碼摺疊", "id": "fold", "children": [ - { "command": "fold", "caption": "折疊" }, + { "command": "fold", "caption": "摺疊" }, { "command": "unfold", "caption": "展開" }, { "command": "unfold_all", "caption": "展開全部" }, { "caption": "-" }, - { "caption": "折疊全部", "command": "fold_by_level", "args": {"level": 1} }, - { "caption": "折疊 2 層", "command": "fold_by_level", "args": {"level": 2} }, - { "caption": "折疊 3 層", "command": "fold_by_level", "args": {"level": 3} }, - { "caption": "折疊 4 層", "command": "fold_by_level", "args": {"level": 4} }, - { "caption": "折疊 5 層", "command": "fold_by_level", "args": {"level": 5} }, - { "caption": "折疊 6 層", "command": "fold_by_level", "args": {"level": 6} }, - { "caption": "折疊 7 層", "command": "fold_by_level", "args": {"level": 7} }, - { "caption": "折疊 8 層", "command": "fold_by_level", "args": {"level": 8} }, - { "caption": "折疊 9 層", "command": "fold_by_level", "args": {"level": 9} }, + { "caption": "摺疊全部", "command": "fold_by_level", "args": {"level": 1} }, + { "caption": "摺疊 2 層", "command": "fold_by_level", "args": {"level": 2} }, + { "caption": "摺疊 3 層", "command": "fold_by_level", "args": {"level": 3} }, + { "caption": "摺疊 4 層", "command": "fold_by_level", "args": {"level": 4} }, + { "caption": "摺疊 5 層", "command": "fold_by_level", "args": {"level": 5} }, + { "caption": "摺疊 6 層", "command": "fold_by_level", "args": {"level": 6} }, + { "caption": "摺疊 7 層", "command": "fold_by_level", "args": {"level": 7} }, + { "caption": "摺疊 8 層", "command": "fold_by_level", "args": {"level": 8} }, + { "caption": "摺疊 9 層", "command": "fold_by_level", "args": {"level": 9} }, { "caption": "-" }, - { "command": "fold_tag_attributes", "caption": "折疊標簽屬性" } + { "command": "fold_tag_attributes", "caption": "摺疊標簽屬性" } ] }, { @@ -317,7 +317,7 @@ { "command": "expand_selection", "args": {"to": "scope"}, "caption": "展開選定範圍" }, { "command": "expand_selection", "args": {"to": "brackets"}, "caption": "展開選定括號" }, { "command": "expand_selection", "args": {"to": "indentation"}, "caption": "展開選定縮進" }, - { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展開選定標簽" } + { "command": "expand_selection", "args": {"to": "tag"}, "caption": "展開選定標籤" } ] }, { @@ -372,7 +372,7 @@ ] }, { "command": "toggle_minimap", "caption": "顯示/隱藏迷你地圖" }, - { "command": "toggle_tabs", "caption": "顯示/隱藏標簽頁" }, + { "command": "toggle_tabs", "caption": "顯示/隱藏標籤頁" }, { "command": "toggle_status_bar", "caption": "顯示/隱藏狀態欄" }, { "command": "toggle_menu", "caption": "顯示/隱藏菜單" }, { "command": "show_panel", "args": {"panel": "console", "toggle": true}, "caption": "顯示/隱藏控制臺" }, @@ -668,16 +668,16 @@ ] }, { - "caption": "書簽(B)", + "caption": "書籤(B)", "mnemonic": "B", "id": "bookmarks", "children": [ - { "command": "toggle_bookmark", "caption": "開啟/關閉書簽" }, - { "command": "next_bookmark", "caption": "下一書簽" }, - { "command": "prev_bookmark", "caption": "前一書簽" }, - { "command": "clear_bookmarks", "caption": "清除書簽" }, - { "command": "select_all_bookmarks", "caption": "選擇所有書簽" }, + { "command": "toggle_bookmark", "caption": "開啟/關閉書籤" }, + { "command": "next_bookmark", "caption": "下一書籤" }, + { "command": "prev_bookmark", "caption": "前一書籤" }, + { "command": "clear_bookmarks", "caption": "清除書籤" }, + { "command": "select_all_bookmarks", "caption": "選擇所有書籤" }, { "caption": "-" }, { "command": "select_bookmark", "args": {"index": 0} }, { "command": "select_bookmark", "args": {"index": 1} }, @@ -839,7 +839,7 @@ { "file": "${packages}/Default/Default ($platform).sublime-keymap" }, - "caption": "按鍵綁定 – 默認" + "caption": "按鍵組合 – 默認" }, { "command": "open_file", "args": @@ -847,15 +847,15 @@ "file": "${packages}/User/Default ($platform).sublime-keymap", "contents": "[\n\t$0\n]\n" }, - "caption": "按鍵綁定 – 用戶" + "caption": "按鍵組合 – 用戶" }, { "caption": "-" }, { "caption": "字體", "children": [ - { "command": "increase_font_size", "caption": "較大" }, - { "command": "decrease_font_size", "caption": "較小" }, + { "command": "increase_font_size", "caption": "增大" }, + { "command": "decrease_font_size", "caption": "減小" }, { "caption": "-" }, { "command": "reset_font_size", "caption": "重置" } ] @@ -881,7 +881,7 @@ { "command": "remove_license", "caption": "刪除註冊信息"}, { "caption": "-" }, { "command": "update_check", "caption": "檢查更新…", "platform": "!Linux" }, - { "command": "show_changelog", "caption": "升級日誌…" }, + { "command": "show_changelog", "caption": "陞級日誌…" }, { "command": "show_about_window", "caption": "關於 Sublime Text(A)", "mnemonic": "A" } ] } From 6794f0d8da8e707e4ee2a993fe57122b0cc02f3d Mon Sep 17 00:00:00 2001 From: rexdf Date: Tue, 23 Jun 2015 17:56:14 +0800 Subject: [PATCH 11/14] update zh_tw zipfile --- ZH_TW.zip | Bin 10694 -> 10710 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/ZH_TW.zip b/ZH_TW.zip index 5500da83443dccb0b3f9e3449d5dda25035103b1..6d1794cfa9cc68c0b9c4ee050d83b24af262f825 100755 GIT binary patch delta 7516 zcmZvBbxhpRvoEfT6?b=+;_j}CEN*4lQoN=37pJ&vVWGv{7Wd*%XlV<@9ZD(gTAbV8 z&CAVwFYhEXpUgj>NzP1Waz1C+WY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Boff*t6J*441AtZ-^8##sMl@RW~0CCV=KmY&$ From 863d58ceba7753e67ce813d7f6aea6ce4625c480 Mon Sep 17 00:00:00 2001 From: rexdf Date: Sun, 12 Jul 2015 09:40:24 +0800 Subject: [PATCH 12/14] fix error --- Localization.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Localization.py b/Localization.py index baab68b..6e4d72b 100755 --- a/Localization.py +++ b/Localization.py @@ -62,9 +62,10 @@ def set_language(lang): if not os.path.isdir(DEFAULT_PATH): os.mkdir(DEFAULT_PATH) # Load binary resource - PACKAGE_NAME = os.path.basename(os.path.dirname(__file__)).split('.')[0] - LOCALZIP_RES = "Packages/{0}/{1}".format(PACKAGE_NAME, - LANGS[lang]['zipfile']) + if not is_python3: + PACKAGE_NAME = os.path.basename(os.path.dirname(__file__)).split('.')[0] + LOCALZIP_RES = "Packages/{0}/{1}".format(PACKAGE_NAME, + LANGS[lang]['zipfile']) try: lang_bytes = sublime.load_binary_resource(LOCALZIP_RES) except Exception: From 9f206de17d3eb4a32754e56d6600864fc050492b Mon Sep 17 00:00:00 2001 From: rexdf Date: Fri, 15 Jan 2016 16:56:10 +0800 Subject: [PATCH 13/14] fix path problem for sbt2 --- Localization.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Localization.py b/Localization.py index 6e4d72b..cc422f2 100755 --- a/Localization.py +++ b/Localization.py @@ -22,6 +22,7 @@ } is_python3 = sys.version_info[0] > 2 +CUR_PATH = os.path.dirname(os.path.realpath(__file__)) def get_language_setting(): @@ -62,7 +63,7 @@ def set_language(lang): if not os.path.isdir(DEFAULT_PATH): os.mkdir(DEFAULT_PATH) # Load binary resource - if not is_python3: + if is_python3: PACKAGE_NAME = os.path.basename(os.path.dirname(__file__)).split('.')[0] LOCALZIP_RES = "Packages/{0}/{1}".format(PACKAGE_NAME, LANGS[lang]['zipfile']) @@ -70,7 +71,7 @@ def set_language(lang): lang_bytes = sublime.load_binary_resource(LOCALZIP_RES) except Exception: # Sublime Text 2 - LOCALZIP_RES = os.path.abspath(os.path.join(os.path.dirname(__file__), + LOCALZIP_RES = os.path.abspath(os.path.join(CUR_PATH, LANGS[lang]['zipfile'])) with open(LOCALZIP_RES, "rb") as f: lang_bytes = f.read() From acbeda1077669f8ff3554f1fcbe43182e7b3bf82 Mon Sep 17 00:00:00 2001 From: rexdf Date: Sat, 4 Jun 2016 18:47:13 +0800 Subject: [PATCH 14/14] update readme for sublime text 2 --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 34701f0..e0a30b5 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,31 @@ # Chinese-Localization Simplified Chinese and Traditional Chinese Translation for Sublime Text 3. Support MainMenu TabMenu ContextMenu,etc +**Upgrade to sublime text 3 to have a better experience.** + ### Manual Install Clone this repository into `Sublime Text 3/Packages` using OS-appropriate location: OSX: - git clone https://github.com/rexdf/Chinese-Localization.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ChineseLocalization + git clone -b st2 https://github.com/rexdf/ChineseLocalization.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ChineseLocalization Windows: - git clone https://github.com/rexdf/Chinese-Localization.git "%APPDATA%\Sublime Text 3\Packages\ChineseLocalization" + git clone -b st2 https://github.com/rexdf/Chinese-Localization.git "%APPDATA%\Sublime Text 3\Packages\ChineseLocalization" Linux: - git clone https://github.com/rexdf/Chinese-Localization.git ~/.config/sublime-text-3/Packages/ChineseLocalization + git clone -b st2 https://github.com/rexdf/Chinese-Localization.git ~/.config/sublime-text-3/Packages/ChineseLocalization Or just download this repo as zip and unzip it to `Packages/Default` -![screenshot](https://raw.githubusercontent.com/rexdf/Chinese-Localization/readme/screenshot/SublimeChineseTranslation2.gif) +![screenshot](https://raw.githubusercontent.com/rexdf/ChineseLocalization/readme/screenshot/SublimeChineseTranslation3.gif) -![screenshot](https://raw.githubusercontent.com/rexdf/Chinese-Localization/readme/screenshot/sublime_translation.png) +![screenshot](https://raw.githubusercontent.com/rexdf/ChineseLocalization/readme/screenshot/sublime_translation.png) -![screenshot](https://raw.githubusercontent.com/rexdf/Chinese-Localization/readme/screenshot/sublime_trans_linux.png) +![screenshot](https://raw.githubusercontent.com/rexdf/ChineseLocalization/readme/screenshot/sublime_trans_linux.png) ### Usage