|
8184 | 8184 | },
|
8185 | 8185 | {
|
8186 | 8186 | "command": "gitlens.views.grouped.branches.moveToNewView",
|
8187 |
| - "title": "Move to Separate View", |
8188 |
| - "icon": "$(gitlens-branches-view)" |
| 8187 | + "title": "Move to Separate View" |
8189 | 8188 | },
|
8190 | 8189 | {
|
8191 | 8190 | "command": "gitlens.views.grouped.branches.setAsDefault",
|
|
8198 | 8197 | },
|
8199 | 8198 | {
|
8200 | 8199 | "command": "gitlens.views.grouped.commits.moveToNewView",
|
8201 |
| - "title": "Move to Separate View", |
8202 |
| - "icon": "$(gitlens-commits-view)" |
| 8200 | + "title": "Move to Separate View" |
8203 | 8201 | },
|
8204 | 8202 | {
|
8205 | 8203 | "command": "gitlens.views.grouped.commits.setAsDefault",
|
|
8212 | 8210 | },
|
8213 | 8211 | {
|
8214 | 8212 | "command": "gitlens.views.grouped.contributors.moveToNewView",
|
8215 |
| - "title": "Move to Separate View", |
8216 |
| - "icon": "$(gitlens-contributors-view)" |
| 8213 | + "title": "Move to Separate View" |
8217 | 8214 | },
|
8218 | 8215 | {
|
8219 | 8216 | "command": "gitlens.views.grouped.contributors.setAsDefault",
|
|
8226 | 8223 | },
|
8227 | 8224 | {
|
8228 | 8225 | "command": "gitlens.views.grouped.remotes.moveToNewView",
|
8229 |
| - "title": "Move to Separate View", |
8230 |
| - "icon": "$(gitlens-remotes-view)" |
| 8226 | + "title": "Move to Separate View" |
8231 | 8227 | },
|
8232 | 8228 | {
|
8233 | 8229 | "command": "gitlens.views.grouped.remotes.setAsDefault",
|
|
8240 | 8236 | },
|
8241 | 8237 | {
|
8242 | 8238 | "command": "gitlens.views.grouped.repositories.moveToNewView",
|
8243 |
| - "title": "Move to Separate View", |
8244 |
| - "icon": "$(gitlens-repositories-view)" |
| 8239 | + "title": "Move to Separate View" |
8245 | 8240 | },
|
8246 | 8241 | {
|
8247 | 8242 | "command": "gitlens.views.grouped.repositories.setAsDefault",
|
8248 | 8243 | "title": "Set as Default View"
|
8249 | 8244 | },
|
| 8245 | + { |
| 8246 | + "command": "gitlens.views.grouped.searchAndCompare", |
| 8247 | + "title": "Search & Compare", |
| 8248 | + "icon": "$(gitlens-search-view)" |
| 8249 | + }, |
| 8250 | + { |
| 8251 | + "command": "gitlens.views.grouped.searchAndCompare.moveToNewView", |
| 8252 | + "title": "Move to Separate View" |
| 8253 | + }, |
| 8254 | + { |
| 8255 | + "command": "gitlens.views.grouped.searchAndCompare.setAsDefault", |
| 8256 | + "title": "Set as Default View" |
| 8257 | + }, |
8250 | 8258 | {
|
8251 | 8259 | "command": "gitlens.views.grouped.stashes",
|
8252 | 8260 | "title": "Stashes",
|
8253 | 8261 | "icon": "$(gitlens-stashes-view)"
|
8254 | 8262 | },
|
8255 | 8263 | {
|
8256 | 8264 | "command": "gitlens.views.grouped.stashes.moveToNewView",
|
8257 |
| - "title": "Move to Separate View", |
8258 |
| - "icon": "$(gitlens-stashes-view)" |
| 8265 | + "title": "Move to Separate View" |
8259 | 8266 | },
|
8260 | 8267 | {
|
8261 | 8268 | "command": "gitlens.views.grouped.stashes.setAsDefault",
|
|
8268 | 8275 | },
|
8269 | 8276 | {
|
8270 | 8277 | "command": "gitlens.views.grouped.tags.moveToNewView",
|
8271 |
| - "title": "Move to Separate View", |
8272 |
| - "icon": "$(gitlens-tags-view)" |
| 8278 | + "title": "Move to Separate View" |
8273 | 8279 | },
|
8274 | 8280 | {
|
8275 | 8281 | "command": "gitlens.views.grouped.tags.setAsDefault",
|
|
8282 | 8288 | },
|
8283 | 8289 | {
|
8284 | 8290 | "command": "gitlens.views.grouped.worktrees.moveToNewView",
|
8285 |
| - "title": "Move to Separate View", |
8286 |
| - "icon": "$(gitlens-worktrees-view)" |
| 8291 | + "title": "Move to Separate View" |
8287 | 8292 | },
|
8288 | 8293 | {
|
8289 | 8294 | "command": "gitlens.views.grouped.worktrees.setAsDefault",
|
|
8672 | 8677 | "title": "Copy",
|
8673 | 8678 | "category": "GitLens"
|
8674 | 8679 | },
|
| 8680 | + { |
| 8681 | + "command": "gitlens.views.searchAndCompare.close", |
| 8682 | + "title": "Close", |
| 8683 | + "category": "GitLens", |
| 8684 | + "icon": "$(close)" |
| 8685 | + }, |
8675 | 8686 | {
|
8676 | 8687 | "command": "gitlens.views.searchAndCompare.refresh",
|
8677 | 8688 | "title": "Refresh",
|
@@ -10045,25 +10056,32 @@
|
10045 | 10056 | "fontCharacter": "\\f13a"
|
10046 | 10057 | }
|
10047 | 10058 | },
|
| 10059 | + "gitlens-search-view-filled": { |
| 10060 | + "description": "search-view-filled icon", |
| 10061 | + "default": { |
| 10062 | + "fontPath": "dist/glicons.woff2", |
| 10063 | + "fontCharacter": "\\f13b" |
| 10064 | + } |
| 10065 | + }, |
10048 | 10066 | "gitlens-stashes-view-filled": {
|
10049 | 10067 | "description": "stashes-view-filled icon",
|
10050 | 10068 | "default": {
|
10051 | 10069 | "fontPath": "dist/glicons.woff2",
|
10052 |
| - "fontCharacter": "\\f13b" |
| 10070 | + "fontCharacter": "\\f13c" |
10053 | 10071 | }
|
10054 | 10072 | },
|
10055 | 10073 | "gitlens-tags-view-filled": {
|
10056 | 10074 | "description": "tags-view-filled icon",
|
10057 | 10075 | "default": {
|
10058 | 10076 | "fontPath": "dist/glicons.woff2",
|
10059 |
| - "fontCharacter": "\\f13c" |
| 10077 | + "fontCharacter": "\\f13d" |
10060 | 10078 | }
|
10061 | 10079 | },
|
10062 | 10080 | "gitlens-worktrees-view-filled": {
|
10063 | 10081 | "description": "worktrees-view-filled icon",
|
10064 | 10082 | "default": {
|
10065 | 10083 | "fontPath": "dist/glicons.woff2",
|
10066 |
| - "fontCharacter": "\\f13d" |
| 10084 | + "fontCharacter": "\\f13e" |
10067 | 10085 | }
|
10068 | 10086 | }
|
10069 | 10087 | },
|
|
11853 | 11871 | "command": "gitlens.views.grouped.repositories.setAsDefault",
|
11854 | 11872 | "when": "false"
|
11855 | 11873 | },
|
| 11874 | + { |
| 11875 | + "command": "gitlens.views.grouped.searchAndCompare", |
| 11876 | + "when": "false" |
| 11877 | + }, |
| 11878 | + { |
| 11879 | + "command": "gitlens.views.grouped.searchAndCompare.moveToNewView", |
| 11880 | + "when": "false" |
| 11881 | + }, |
| 11882 | + { |
| 11883 | + "command": "gitlens.views.grouped.searchAndCompare.setAsDefault", |
| 11884 | + "when": "false" |
| 11885 | + }, |
11856 | 11886 | {
|
11857 | 11887 | "command": "gitlens.views.grouped.stashes",
|
11858 | 11888 | "when": "false"
|
|
12173 | 12203 | "command": "gitlens.views.searchAndCompare.copy",
|
12174 | 12204 | "when": "false"
|
12175 | 12205 | },
|
| 12206 | + { |
| 12207 | + "command": "gitlens.views.searchAndCompare.close", |
| 12208 | + "when": "false" |
| 12209 | + }, |
12176 | 12210 | {
|
12177 | 12211 | "command": "gitlens.views.searchAndCompare.refresh",
|
12178 | 12212 | "when": "false"
|
|
13836 | 13870 | "when": "view == gitlens.views.grouped && gitlens:views:grouped:views =~ /\\brepositories\\b/ && gitlens:views:grouped:view == repositories",
|
13837 | 13871 | "group": "navigation@8"
|
13838 | 13872 | },
|
| 13873 | + { |
| 13874 | + "command": "gitlens.views.grouped.searchAndCompare", |
| 13875 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:views =~ /\\bsearchAndCompare\\b/ && gitlens:views:grouped:view != searchAndCompare", |
| 13876 | + "group": "navigation@9", |
| 13877 | + "alt": "gitlens.views.grouped.searchAndCompare.moveToNewView" |
| 13878 | + }, |
| 13879 | + { |
| 13880 | + "submenu": "gitlens/views/grouped/searchAndCompare", |
| 13881 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:views =~ /\\bsearchAndCompare\\b/ && gitlens:views:grouped:view == searchAndCompare", |
| 13882 | + "group": "navigation@9" |
| 13883 | + }, |
13839 | 13884 | {
|
13840 | 13885 | "command": "gitlens.views.grouped.refresh",
|
13841 | 13886 | "when": "view == gitlens.views.grouped",
|
|
14089 | 14134 | {
|
14090 | 14135 | "command": "gitlens.views.searchAndCompare.refresh",
|
14091 | 14136 | "when": "view == gitlens.views.searchAndCompare",
|
| 14137 | + "group": "navigation@98" |
| 14138 | + }, |
| 14139 | + { |
| 14140 | + "command": "gitlens.views.searchAndCompare.close", |
| 14141 | + "when": "view == gitlens.views.searchAndCompare && config.gitlens.views.grouped.enabled", |
14092 | 14142 | "group": "navigation@99"
|
14093 | 14143 | },
|
14094 | 14144 | {
|
@@ -17445,12 +17495,12 @@
|
17445 | 17495 | "gitlens/view/searchAndCompare/new": [
|
17446 | 17496 | {
|
17447 | 17497 | "command": "gitlens.views.searchAndCompare.searchCommits",
|
17448 |
| - "when": "view == gitlens.views.searchAndCompare", |
| 17498 | + "when": "view == gitlens.views.searchAndCompare || (view === gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare)", |
17449 | 17499 | "group": "navigation@10"
|
17450 | 17500 | },
|
17451 | 17501 | {
|
17452 | 17502 | "command": "gitlens.views.searchAndCompare.selectForCompare",
|
17453 |
| - "when": "view == gitlens.views.searchAndCompare", |
| 17503 | + "when": "view == gitlens.views.searchAndCompare || (view === gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare)", |
17454 | 17504 | "group": "navigation@11"
|
17455 | 17505 | }
|
17456 | 17506 | ],
|
|
17609 | 17659 | "group": "2_gitlens_actions@3"
|
17610 | 17660 | }
|
17611 | 17661 | ],
|
| 17662 | + "gitlens/views/grouped/searchAndCompare": [ |
| 17663 | + { |
| 17664 | + "command": "gitlens.views.grouped.searchAndCompare.moveToNewView", |
| 17665 | + "when": "gitlens:views:grouped:view == searchAndCompare", |
| 17666 | + "group": "2_gitlens@1" |
| 17667 | + }, |
| 17668 | + { |
| 17669 | + "command": "gitlens.views.grouped.searchAndCompare.setAsDefault", |
| 17670 | + "when": "gitlens:views:grouped:view == searchAndCompare && gitlens:views:grouped:default != searchAndCompare", |
| 17671 | + "group": "2_gitlens@2" |
| 17672 | + }, |
| 17673 | + { |
| 17674 | + "submenu": "gitlens/views/grouped/more", |
| 17675 | + "when": "gitlens:views:grouped:view == searchAndCompare", |
| 17676 | + "group": "2_gitlens@3" |
| 17677 | + }, |
| 17678 | + { |
| 17679 | + "command": "gitlens.views.searchAndCompare.searchCommits", |
| 17680 | + "when": "view == gitlens.views.searchAndCompare || (view === gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare)", |
| 17681 | + "group": "2_gitlens_actions@1" |
| 17682 | + }, |
| 17683 | + { |
| 17684 | + "command": "gitlens.views.searchAndCompare.selectForCompare", |
| 17685 | + "when": "view == gitlens.views.searchAndCompare || (view === gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare)", |
| 17686 | + "group": "2_gitlens_actions@2" |
| 17687 | + }, |
| 17688 | + { |
| 17689 | + "command": "gitlens.views.searchAndCompare.clear", |
| 17690 | + "when": "gitlens:views:grouped:view == searchAndCompare", |
| 17691 | + "group": "2_gitlens_actions_@1" |
| 17692 | + } |
| 17693 | + ], |
17612 | 17694 | "gitlens/views/grouped/stashes": [
|
17613 | 17695 | {
|
17614 | 17696 | "command": "gitlens.views.grouped.stashes.moveToNewView",
|
|
17966 | 18048 | "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == repositories",
|
17967 | 18049 | "group": "9_gitlens@1"
|
17968 | 18050 | },
|
| 18051 | + { |
| 18052 | + "command": "gitlens.views.searchAndCompare.setFilesLayoutToAuto", |
| 18053 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare && config.gitlens.views.searchAndCompare.files.layout == tree", |
| 18054 | + "group": "3_gitlens@0" |
| 18055 | + }, |
| 18056 | + { |
| 18057 | + "command": "gitlens.views.searchAndCompare.setFilesLayoutToList", |
| 18058 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare && config.gitlens.views.searchAndCompare.files.layout == auto", |
| 18059 | + "group": "3_gitlens@0" |
| 18060 | + }, |
| 18061 | + { |
| 18062 | + "command": "gitlens.views.searchAndCompare.setFilesLayoutToTree", |
| 18063 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare && config.gitlens.views.searchAndCompare.files.layout == list", |
| 18064 | + "group": "3_gitlens@0" |
| 18065 | + }, |
| 18066 | + { |
| 18067 | + "command": "gitlens.views.searchAndCompare.setShowAvatarsOn", |
| 18068 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare && !config.gitlens.views.searchAndCompare.avatars", |
| 18069 | + "group": "5_gitlens@0" |
| 18070 | + }, |
| 18071 | + { |
| 18072 | + "command": "gitlens.views.searchAndCompare.setShowAvatarsOff", |
| 18073 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare && config.gitlens.views.searchAndCompare.avatars", |
| 18074 | + "group": "5_gitlens@0" |
| 18075 | + }, |
| 18076 | + { |
| 18077 | + "command": "gitlens.showSettingsPage!search-compare-view", |
| 18078 | + "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == searchAndCompare", |
| 18079 | + "group": "9_gitlens@1" |
| 18080 | + }, |
17969 | 18081 | {
|
17970 | 18082 | "command": "gitlens.views.stashes.setFilesLayoutToAuto",
|
17971 | 18083 | "when": "view == gitlens.views.grouped && gitlens:views:grouped:view == stashes && config.gitlens.views.stashes.files.layout == tree",
|
|
18172 | 18284 | "label": "Repositories",
|
18173 | 18285 | "icon": "$(gitlens-repositories-view-filled)"
|
18174 | 18286 | },
|
| 18287 | + { |
| 18288 | + "id": "gitlens/views/grouped/searchAndCompare", |
| 18289 | + "label": "Search & Compare", |
| 18290 | + "icon": "$(gitlens-search-view-filled)" |
| 18291 | + }, |
18175 | 18292 | {
|
18176 | 18293 | "id": "gitlens/views/grouped/stashes",
|
18177 | 18294 | "label": "Stashes",
|
@@ -18701,16 +18818,31 @@
|
18701 | 18818 | "contents": "Search for commits by [message](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22message%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [author](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22author%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [SHA](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22commit%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [file](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22file%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), or [changes](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22change%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D)\n\n[Search Commits...](command:gitlens.views.searchAndCompare.searchCommits)",
|
18702 | 18819 | "when": "!gitlens:hasVirtualFolders"
|
18703 | 18820 | },
|
| 18821 | + { |
| 18822 | + "view": "gitlens.views.grouped", |
| 18823 | + "contents": "Search for commits by [message](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22message%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [author](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22author%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [SHA](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22commit%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [file](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22file%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), or [changes](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22change%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D)\n\n[Search Commits...](command:gitlens.views.searchAndCompare.searchCommits)", |
| 18824 | + "when": "!gitlens:hasVirtualFolders && gitlens:views:grouped:view == searchAndCompare" |
| 18825 | + }, |
18704 | 18826 | {
|
18705 | 18827 | "view": "gitlens.views.searchAndCompare",
|
18706 | 18828 | "contents": "Search for commits by [message](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22message%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [author](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22author%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), or [SHA](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22commit%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D)\n\n[Search Commits...](command:gitlens.views.searchAndCompare.searchCommits)",
|
18707 | 18829 | "when": "gitlens:hasVirtualFolders"
|
18708 | 18830 | },
|
| 18831 | + { |
| 18832 | + "view": "gitlens.views.grouped", |
| 18833 | + "contents": "Search for commits by [message](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22message%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), [author](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22author%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D), or [SHA](command:gitlens.views.searchAndCompare.searchCommits?%7B%22search%22%3A%7B%22query%22%3A%22commit%3A%22%7D%2C%22prefillOnly%22%3Atrue%7D)\n\n[Search Commits...](command:gitlens.views.searchAndCompare.searchCommits)", |
| 18834 | + "when": "gitlens:hasVirtualFolders && gitlens:views:grouped:view == searchAndCompare" |
| 18835 | + }, |
18709 | 18836 | {
|
18710 | 18837 | "view": "gitlens.views.searchAndCompare",
|
18711 | 18838 | "contents": "Compare a <branch, tag, or ref> with another <branch, tag, or ref>\n\n[Compare References...](command:gitlens.views.searchAndCompare.selectForCompare)",
|
18712 | 18839 | "when": "!gitlens:hasVirtualFolders"
|
18713 | 18840 | },
|
| 18841 | + { |
| 18842 | + "view": "gitlens.views.grouped", |
| 18843 | + "contents": "Compare a <branch, tag, or ref> with another <branch, tag, or ref>\n\n[Compare References...](command:gitlens.views.searchAndCompare.selectForCompare)", |
| 18844 | + "when": "!gitlens:hasVirtualFolders && gitlens:views:grouped:view == searchAndCompare" |
| 18845 | + }, |
18714 | 18846 | {
|
18715 | 18847 | "view": "gitlens.views.drafts",
|
18716 | 18848 | "contents": "Cloud Patches ᴘʀᴇᴠɪᴇᴡ — easily and securely share code with your teammates or other developers, accessible from anywhere, streamlining your workflow with better collaboration."
|
|
18956 | 19088 | {
|
18957 | 19089 | "id": "gitlens.views.searchAndCompare",
|
18958 | 19090 | "name": "Search & Compare",
|
18959 |
| - "when": "!gitlens:disabled", |
| 19091 | + "when": "!gitlens:disabled && (!config.gitlens.views.grouped.enabled || (config.gitlens.views.grouped.enabled && gitlens:views:grouped:views && !(gitlens:views:grouped:views =~ /\\bsearchAndCompare\\b/)))", |
18960 | 19092 | "contextualTitle": "GitLens",
|
18961 | 19093 | "icon": "$(gitlens-search-view)",
|
18962 | 19094 | "initialSize": 2,
|
|
0 commit comments