From 361af5fe7d837e6da81059e43541003fa09ae86f Mon Sep 17 00:00:00 2001 From: maboloshi <7850715+maboloshi@users.noreply.github.com> Date: Sun, 12 Dec 2021 21:13:02 +0800 Subject: [PATCH] Merge the official build-2065 *.sublime-menu files --- Commit Author.sublime-menu | 17 ++++ Commit Date.sublime-menu | 7 ++ Commit Tree.sublime-menu | 7 ++ Commit Visibility.sublime-menu | 14 +++ Commit.sublime-menu | 12 --- Encoding.sublime-menu | 134 ++++++++++++++------------- Side Bar Layout Options.sublime-menu | 12 ++- 7 files changed, 122 insertions(+), 81 deletions(-) create mode 100644 Commit Author.sublime-menu create mode 100644 Commit Date.sublime-menu create mode 100644 Commit Tree.sublime-menu create mode 100644 Commit Visibility.sublime-menu diff --git a/Commit Author.sublime-menu b/Commit Author.sublime-menu new file mode 100644 index 0000000..4d01088 --- /dev/null +++ b/Commit Author.sublime-menu @@ -0,0 +1,17 @@ +[ + { + "caption": "Copy Author", + "command": "copy_to_clipboard", + "args": {"text": "$author <$email>"} + }, + { + "caption": "Copy Author Name", + "command": "copy_to_clipboard", + "args": {"text": "$author"} + }, + { + "caption": "Copy Author Email", + "command": "copy_to_clipboard", + "args": {"text": "$email"} + }, +] \ No newline at end of file diff --git a/Commit Date.sublime-menu b/Commit Date.sublime-menu new file mode 100644 index 0000000..a612e10 --- /dev/null +++ b/Commit Date.sublime-menu @@ -0,0 +1,7 @@ +[ + { + "caption": "Copy Date", + "command": "copy_to_clipboard", + "args": {"text": "$date"} + } +] \ No newline at end of file diff --git a/Commit Tree.sublime-menu b/Commit Tree.sublime-menu new file mode 100644 index 0000000..098d85c --- /dev/null +++ b/Commit Tree.sublime-menu @@ -0,0 +1,7 @@ +[ + { + "caption": "Copy Tree", + "command": "copy_to_clipboard", + "args": {"text": "$tree"} + } +] \ No newline at end of file diff --git a/Commit Visibility.sublime-menu b/Commit Visibility.sublime-menu new file mode 100644 index 0000000..519c7a7 --- /dev/null +++ b/Commit Visibility.sublime-menu @@ -0,0 +1,14 @@ +[ + { + "command": "hide_all_commit_refs", + "args": {"commit": "$commit"} + }, + { + "command": "hide_all_refs_except_refs_at_commit", + "args": {"commit": "$commit"} + }, + { + "caption": "Show All Hidden Branches", + "command": "show_all_refs" + }, +] \ No newline at end of file diff --git a/Commit.sublime-menu b/Commit.sublime-menu index 31e8e4d..74dc1d0 100644 --- a/Commit.sublime-menu +++ b/Commit.sublime-menu @@ -82,18 +82,6 @@ "command": "cherry_pick", } }, - { - "command": "hide_all_commit_refs", - "args": {"commit": "$commit"} - }, - { - "command": "hide_all_refs_except_refs_at_commit", - "args": {"commit": "$commit"} - }, - { - "caption": "显示所有隐藏的分支", - "command": "show_all_refs" - }, { "caption": "变基", "command": "rebase_branch", diff --git a/Encoding.sublime-menu b/Encoding.sublime-menu index 22dac0e..cee092c 100644 --- a/Encoding.sublime-menu +++ b/Encoding.sublime-menu @@ -4,41 +4,43 @@ "id": "set_encoding", "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": "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": "西方语 (Windows 1252)", "command": "set_encoding", "args": {"encoding": "Western (Windows 1252)" } }, - { "caption": "西方语 (ISO 8859-1)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-1)" } }, - { "caption": "西方语 (ISO 8859-3)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-3)" } }, - { "caption": "西方语 (ISO 8859-15)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-15)" } }, - { "caption": "西方语 (Mac Roman)", "command": "set_encoding", "args": {"encoding": "Western (Mac Roman)" } }, - { "caption": "DOS (CP 437)", "command": "set_encoding", "args": {"encoding": "DOS (CP 437)" } }, - { "caption": "阿拉伯语 (Windows 1256)", "command": "set_encoding", "args": {"encoding": "Arabic (Windows 1256)" } }, - { "caption": "阿拉伯语 (ISO 8859-6)", "command": "set_encoding", "args": {"encoding": "Arabic (ISO 8859-6)" } }, - { "caption": "波罗海语 (Windows 1257)", "command": "set_encoding", "args": {"encoding": "Baltic (Windows 1257)" } }, - { "caption": "波罗海语 (ISO 8859-4)", "command": "set_encoding", "args": {"encoding": "Baltic (ISO 8859-4)" } }, - { "caption": "凯尔特语 (ISO 8859-14)", "command": "set_encoding", "args": {"encoding": "Celtic (ISO 8859-14)" } }, - { "caption": "中欧语 (Windows 1250)", "command": "set_encoding", "args": {"encoding": "Central European (Windows 1250)" } }, - { "caption": "中欧语 (ISO 8859-2)", "command": "set_encoding", "args": {"encoding": "Central European (ISO 8859-2)" } }, - { "caption": "中欧语 (Mac)", "command": "set_encoding", "args": {"encoding": "Central European (Mac)" } }, - { "caption": "西里尔语 (Windows 1251)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 1251)" } }, - { "caption": "西里尔语 (Windows 866)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 866)" } }, - { "caption": "西里尔语 (ISO 8859-5)", "command": "set_encoding", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, - { "caption": "西里尔语 (KOI8-R)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-R)" } }, - { "caption": "西里尔语 (KOI8-U)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-U)" } }, - { "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "set_encoding", "args": {"encoding": "Estonian (ISO 8859-13)" } }, - { "caption": "希腊语 (Windows 1253)", "command": "set_encoding", "args": {"encoding": "Greek (Windows 1253)" } }, - { "caption": "希腊语 (ISO 8859-7)", "command": "set_encoding", "args": {"encoding": "Greek (ISO 8859-7)" } }, - { "caption": "希伯来语 (Windows 1255)", "command": "set_encoding", "args": {"encoding": "Hebrew (Windows 1255)" } }, - { "caption": "希伯来语 (ISO 8859-8)", "command": "set_encoding", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, - { "caption": "北欧语 (ISO 8859-10)", "command": "set_encoding", "args": {"encoding": "Nordic (ISO 8859-10)" } }, - { "caption": "罗马尼亚语 (ISO 8859-16)", "command": "set_encoding", "args": {"encoding": "Romanian (ISO 8859-16)" } }, - { "caption": "土耳其语 (Windows 1254)", "command": "set_encoding", "args": {"encoding": "Turkish (Windows 1254)" } }, - { "caption": "土耳其语 (ISO 8859-9)", "command": "set_encoding", "args": {"encoding": "Turkish (ISO 8859-9)" } }, - { "caption": "越南语 (Windows 1258)", "command": "set_encoding", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "阿拉伯语 (ISO 8859-6)", "command": "set_encoding", "args": { "encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "阿拉伯语 (Windows 1256)", "command": "set_encoding", "args": { "encoding": "Arabic (Windows 1256)" } }, + { "caption": "波罗海语 (ISO 8859-4)", "command": "set_encoding", "args": { "encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "波罗海语 (Windows 1257)", "command": "set_encoding", "args": { "encoding": "Baltic (Windows 1257)" } }, + { "caption": "凯尔特语 (ISO 8859-14)", "command": "set_encoding", "args": { "encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "中欧语 (ISO 8859-2)", "command": "set_encoding", "args": { "encoding": "Central European (ISO 8859-2)" } }, + { "caption": "中欧语 (Mac)", "command": "set_encoding", "args": { "encoding": "Central European (Mac)" } }, + { "caption": "中欧语 (Windows 1250)", "command": "set_encoding", "args": { "encoding": "Central European (Windows 1250)" } }, + { "caption": "简体中文 (GB18030)", "command": "set_encoding", "args": { "encoding": "Chinese (GB18030)" } }, + { "caption": "西里尔语 (ISO 8859-5)", "command": "set_encoding", "args": { "encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "西里尔语 (KOI8-R)", "command": "set_encoding", "args": { "encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "西里尔语 (KOI8-U)", "command": "set_encoding", "args": { "encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "西里尔语 (Windows 1251)", "command": "set_encoding", "args": { "encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "西里尔语 (Windows 866)", "command": "set_encoding", "args": { "encoding": "Cyrillic (Windows 866)" } }, + { "caption": "DOS (CP 437)", "command": "set_encoding", "args": { "encoding": "DOS (CP 437)" } }, + { "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "set_encoding", "args": { "encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "希腊语 (ISO 8859-7)", "command": "set_encoding", "args": { "encoding": "Greek (ISO 8859-7)" } }, + { "caption": "希腊语 (Windows 1253)", "command": "set_encoding", "args": { "encoding": "Greek (Windows 1253)" } }, + { "caption": "希伯来语 (CP 862)", "command": "set_encoding", "args": { "encoding": "Hebrew (CP 862)" } }, + { "caption": "希伯来语 (ISO 8859-8)", "command": "set_encoding", "args": { "encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "希伯来语 (Windows 1255)", "command": "set_encoding", "args": { "encoding": "Hebrew (Windows 1255)" } }, + { "caption": "北欧语 (ISO 8859-10)", "command": "set_encoding", "args": { "encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "罗马尼亚语 (ISO 8859-16)", "command": "set_encoding", "args": { "encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "土耳其语 (ISO 8859-9)", "command": "set_encoding", "args": { "encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "土耳其语 (Windows 1254)", "command": "set_encoding", "args": { "encoding": "Turkish (Windows 1254)" } }, + { "caption": "越南语 (Windows 1258)", "command": "set_encoding", "args": { "encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "西方语 (ISO 8859-1)", "command": "set_encoding", "args": { "encoding": "Western (ISO 8859-1)" } }, + { "caption": "西方语 (ISO 8859-15)", "command": "set_encoding", "args": { "encoding": "Western (ISO 8859-15)" } }, + { "caption": "西方语 (ISO 8859-3)", "command": "set_encoding", "args": { "encoding": "Western (ISO 8859-3)" } }, + { "caption": "西方语 (Mac Roman)", "command": "set_encoding", "args": { "encoding": "Western (Mac Roman)" } }, + { "caption": "西方语 (Windows 1252)", "command": "set_encoding", "args": { "encoding": "Western (Windows 1252)" } }, { "caption": "-" }, - { "caption": "十六进制", "command": "set_encoding", "args": {"encoding": "Hexadecimal" } } + { "caption": "十六进制", "command": "set_encoding", "args": { "encoding": "Hexadecimal" } } ] }, @@ -47,39 +49,41 @@ "id": "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": "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": "西方语 (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } }, - { "caption": "西方语 (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } }, - { "caption": "西方语 (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } }, - { "caption": "西方语 (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } }, - { "caption": "西方语 (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } }, - { "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } }, - { "caption": "阿拉伯语 (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } }, - { "caption": "阿拉伯语 (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } }, - { "caption": "波罗海语 (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } }, - { "caption": "波罗海语 (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } }, - { "caption": "凯尔特语 (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } }, - { "caption": "中欧语 (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } }, - { "caption": "中欧语 (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } }, - { "caption": "中欧语 (Mac)", "command": "reopen", "args": {"encoding": "Central European (Mac)" } }, - { "caption": "西里尔语 (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } }, - { "caption": "西里尔语 (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } }, - { "caption": "西里尔语 (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } }, - { "caption": "西里尔语 (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } }, - { "caption": "西里尔语 (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } }, - { "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } }, - { "caption": "希腊语 (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } }, - { "caption": "希腊语 (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } }, - { "caption": "希伯来语 (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } }, - { "caption": "希伯来语 (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } }, - { "caption": "北欧语 (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } }, - { "caption": "罗马尼亚语 (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } }, - { "caption": "土耳其语 (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } }, - { "caption": "土耳其语 (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } }, - { "caption": "越南语 (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "阿拉伯语 (ISO 8859-6)", "command": "reopen", "args": { "encoding": "Arabic (ISO 8859-6)" } }, + { "caption": "阿拉伯语 (Windows 1256)", "command": "reopen", "args": { "encoding": "Arabic (Windows 1256)" } }, + { "caption": "波罗海语 (ISO 8859-4)", "command": "reopen", "args": { "encoding": "Baltic (ISO 8859-4)" } }, + { "caption": "波罗海语 (Windows 1257)", "command": "reopen", "args": { "encoding": "Baltic (Windows 1257)" } }, + { "caption": "凯尔特语 (ISO 8859-14)", "command": "reopen", "args": { "encoding": "Celtic (ISO 8859-14)" } }, + { "caption": "中欧语 (ISO 8859-2)", "command": "reopen", "args": { "encoding": "Central European (ISO 8859-2)" } }, + { "caption": "中欧语 (Mac)", "command": "reopen", "args": { "encoding": "Central European (Mac)" } }, + { "caption": "中欧语 (Windows 1250)", "command": "reopen", "args": { "encoding": "Central European (Windows 1250)" } }, + { "caption": "简体中文 (GB18030)", "command": "reopen", "args": { "encoding": "Chinese (GB18030)" } }, + { "caption": "西里尔语 (ISO 8859-5)", "command": "reopen", "args": { "encoding": "Cyrillic (ISO 8859-5)" } }, + { "caption": "西里尔语 (KOI8-R)", "command": "reopen", "args": { "encoding": "Cyrillic (KOI8-R)" } }, + { "caption": "西里尔语 (KOI8-U)", "command": "reopen", "args": { "encoding": "Cyrillic (KOI8-U)" } }, + { "caption": "西里尔语 (Windows 1251)", "command": "reopen", "args": { "encoding": "Cyrillic (Windows 1251)" } }, + { "caption": "西里尔语 (Windows 866)", "command": "reopen", "args": { "encoding": "Cyrillic (Windows 866)" } }, + { "caption": "DOS (CP 437)", "command": "reopen", "args": { "encoding": "DOS (CP 437)" } }, + { "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "reopen", "args": { "encoding": "Estonian (ISO 8859-13)" } }, + { "caption": "希腊语 (ISO 8859-7)", "command": "reopen", "args": { "encoding": "Greek (ISO 8859-7)" } }, + { "caption": "希腊语 (Windows 1253)", "command": "reopen", "args": { "encoding": "Greek (Windows 1253)" } }, + { "caption": "希伯来语 (CP 862)", "command": "reopen", "args": { "encoding": "Hebrew (CP 862)" } }, + { "caption": "希伯来语 (ISO 8859-8)", "command": "reopen", "args": { "encoding": "Hebrew (ISO 8859-8)" } }, + { "caption": "希伯来语 (Windows 1255)", "command": "reopen", "args": { "encoding": "Hebrew (Windows 1255)" } }, + { "caption": "北欧语 (ISO 8859-10)", "command": "reopen", "args": { "encoding": "Nordic (ISO 8859-10)" } }, + { "caption": "罗马尼亚语 (ISO 8859-16)", "command": "reopen", "args": { "encoding": "Romanian (ISO 8859-16)" } }, + { "caption": "土耳其语 (ISO 8859-9)", "command": "reopen", "args": { "encoding": "Turkish (ISO 8859-9)" } }, + { "caption": "土耳其语 (Windows 1254)", "command": "reopen", "args": { "encoding": "Turkish (Windows 1254)" } }, + { "caption": "越南语 (Windows 1258)", "command": "reopen", "args": { "encoding": "Vietnamese (Windows 1258)" } }, + { "caption": "西方语 (ISO 8859-1)", "command": "reopen", "args": { "encoding": "Western (ISO 8859-1)" } }, + { "caption": "西方语 (ISO 8859-15)", "command": "reopen", "args": { "encoding": "Western (ISO 8859-15)" } }, + { "caption": "西方语 (ISO 8859-3)", "command": "reopen", "args": { "encoding": "Western (ISO 8859-3)" } }, + { "caption": "西方语 (Mac Roman)", "command": "reopen", "args": { "encoding": "Western (Mac Roman)" } }, + { "caption": "西方语 (Windows 1252)", "command": "reopen", "args": { "encoding": "Western (Windows 1252)" } }, { "caption": "-" }, { "caption": "十六进制", "command": "reopen", "args": {"encoding": "Hexadecimal" } } ] diff --git a/Side Bar Layout Options.sublime-menu b/Side Bar Layout Options.sublime-menu index a6af434..cc0b9b2 100644 --- a/Side Bar Layout Options.sublime-menu +++ b/Side Bar Layout Options.sublime-menu @@ -1,18 +1,22 @@ [ { "caption": "单栏", - "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "tabs" } + "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "tabs" }, + "checkbox": true, }, { "caption": "双栏 (文件栏在左侧)", - "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "commit_graph_as_column" } + "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "commit_graph_as_column" }, + "checkbox": true, }, { "caption": "双栏 (文件栏在右侧)", - "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "locations_as_column" } + "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "locations_as_column" }, + "checkbox": true, }, { "caption": "三栏", - "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "columns" } + "command": "set_preference", "args": { "setting": "side_bar_layout", "value": "columns" }, + "checkbox": true, }, ]