|
1580 | 1580 | }, |
1581 | 1581 | "gitlens.sortBranchesBy": { |
1582 | 1582 | "type": "string", |
1583 | | - "default": "name:asc", |
| 1583 | + "default": "date:desc", |
1584 | 1584 | "enum": [ |
1585 | | - "name:asc", |
1586 | | - "name:desc", |
1587 | 1585 | "date:desc", |
1588 | | - "date:asc" |
| 1586 | + "date:asc", |
| 1587 | + "name:asc", |
| 1588 | + "name:desc" |
1589 | 1589 | ], |
1590 | 1590 | "enumDescriptions": [ |
1591 | | - "Sorts branches by name in ascending order", |
1592 | | - "Sorts branches by name in descending order", |
1593 | 1591 | "Sorts branches by the most recent commit date in descending order", |
1594 | | - "Sorts branches by the most recent commit date in ascending order" |
| 1592 | + "Sorts branches by the most recent commit date in ascending order", |
| 1593 | + "Sorts branches by name in ascending order", |
| 1594 | + "Sorts branches by name in descending order" |
1595 | 1595 | ], |
1596 | 1596 | "markdownDescription": "Specifies how branches are sorted in quick pick menus and views", |
1597 | 1597 | "scope": "window" |
1598 | 1598 | }, |
| 1599 | + "gitlens.sortContributorsBy": { |
| 1600 | + "type": "string", |
| 1601 | + "default": "count:desc", |
| 1602 | + "enum": [ |
| 1603 | + "count:desc", |
| 1604 | + "count:asc", |
| 1605 | + "date:desc", |
| 1606 | + "date:asc", |
| 1607 | + "name:asc", |
| 1608 | + "name:desc" |
| 1609 | + ], |
| 1610 | + "enumDescriptions": [ |
| 1611 | + "Sorts contributors by commit count in descending order", |
| 1612 | + "Sorts contributors by commit count in ascending order", |
| 1613 | + "Sorts contributors by the most recent commit date in descending order", |
| 1614 | + "Sorts contributors by the most recent commit date in ascending order", |
| 1615 | + "Sorts contributors by name in ascending order", |
| 1616 | + "Sorts contributors by name in descending order" |
| 1617 | + ], |
| 1618 | + "markdownDescription": "Specifies how contributors are sorted in quick pick menus and views", |
| 1619 | + "scope": "window" |
| 1620 | + }, |
1599 | 1621 | "gitlens.sortTagsBy": { |
1600 | 1622 | "type": "string", |
1601 | 1623 | "default": "date:desc", |
1602 | 1624 | "enum": [ |
1603 | | - "name:asc", |
1604 | | - "name:desc", |
1605 | 1625 | "date:desc", |
1606 | | - "date:asc" |
| 1626 | + "date:asc", |
| 1627 | + "name:asc", |
| 1628 | + "name:desc" |
1607 | 1629 | ], |
1608 | 1630 | "enumDescriptions": [ |
1609 | | - "Sorts tags by name in ascending order", |
1610 | | - "Sorts tags by name in descending order", |
1611 | 1631 | "Sorts tags by date in descending order", |
1612 | | - "Sorts tags by date in ascending order" |
| 1632 | + "Sorts tags by date in ascending order", |
| 1633 | + "Sorts tags by name in ascending order", |
| 1634 | + "Sorts tags by name in descending order" |
1613 | 1635 | ], |
1614 | 1636 | "markdownDescription": "Specifies how tags are sorted in quick pick menus and views", |
1615 | 1637 | "scope": "window" |
|
1965 | 1987 | "markdownDescription": "Specifies whether to show pull requests (if any) associated with commits in the _Contributors_ view. Requires a connection to a supported remote service (e.g. GitHub)", |
1966 | 1988 | "scope": "window" |
1967 | 1989 | }, |
| 1990 | + "gitlens.views.contributors.showAllBranches": { |
| 1991 | + "type": "boolean", |
| 1992 | + "default": false, |
| 1993 | + "markdownDescription": "Specifies whether to show commits from all branches in the _Contributors_ view", |
| 1994 | + "scope": "window" |
| 1995 | + }, |
1968 | 1996 | "gitlens.views.defaultItemLimit": { |
1969 | 1997 | "type": "number", |
1970 | 1998 | "default": 10, |
|
4593 | 4621 | "category": "GitLens", |
4594 | 4622 | "icon": "$(list-flat)" |
4595 | 4623 | }, |
| 4624 | + { |
| 4625 | + "command": "gitlens.views.contributors.setShowAllBranchesOn", |
| 4626 | + "title": "Toggle Filter: Only Current Branch", |
| 4627 | + "category": "GitLens" |
| 4628 | + }, |
| 4629 | + { |
| 4630 | + "command": "gitlens.views.contributors.setShowAllBranchesOff", |
| 4631 | + "title": "Toggle Filter: All Branches", |
| 4632 | + "category": "GitLens" |
| 4633 | + }, |
4596 | 4634 | { |
4597 | 4635 | "command": "gitlens.views.contributors.setShowAvatarsOn", |
4598 | 4636 | "title": "Show Avatars", |
|
6128 | 6166 | "command": "gitlens.views.contributors.setFilesLayoutToTree", |
6129 | 6167 | "when": "false" |
6130 | 6168 | }, |
| 6169 | + { |
| 6170 | + "command": "gitlens.views.contributors.setShowAllBranchesOn", |
| 6171 | + "when": "false" |
| 6172 | + }, |
| 6173 | + { |
| 6174 | + "command": "gitlens.views.contributors.setShowAllBranchesOff", |
| 6175 | + "when": "false" |
| 6176 | + }, |
6131 | 6177 | { |
6132 | 6178 | "command": "gitlens.views.contributors.setShowAvatarsOn", |
6133 | 6179 | "when": "false" |
|
7079 | 7125 | "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.files.layout == list", |
7080 | 7126 | "group": "3_gitlens@0" |
7081 | 7127 | }, |
| 7128 | + { |
| 7129 | + "command": "gitlens.views.contributors.setShowAllBranchesOn", |
| 7130 | + "when": "view =~ /^gitlens\\.views\\.contributors/ && !config.gitlens.views.contributors.showAllBranches", |
| 7131 | + "group": "3_gitlens@1" |
| 7132 | + }, |
| 7133 | + { |
| 7134 | + "command": "gitlens.views.contributors.setShowAllBranchesOff", |
| 7135 | + "when": "view =~ /^gitlens\\.views\\.contributors/ && config.gitlens.views.contributors.showAllBranches", |
| 7136 | + "group": "3_gitlens@1" |
| 7137 | + }, |
7082 | 7138 | { |
7083 | 7139 | "command": "gitlens.views.contributors.setShowAvatarsOn", |
7084 | 7140 | "when": "view =~ /^gitlens\\.views\\.contributors/ && !config.gitlens.views.contributors.avatars", |
|
0 commit comments