|
1552 | 1552 | "scope": "window", |
1553 | 1553 | "order": 5 |
1554 | 1554 | }, |
| 1555 | + "gitlens.views.showComparisonContributors": { |
| 1556 | + "type": "boolean", |
| 1557 | + "default": true, |
| 1558 | + "markdownDescription": "Specifies whether to show a _Contributors_ section on comparison results in the views", |
| 1559 | + "scope": "window", |
| 1560 | + "order": 6 |
| 1561 | + }, |
| 1562 | + "gitlens.views.showContributorsStatistics": { |
| 1563 | + "type": "boolean", |
| 1564 | + "default": false, |
| 1565 | + "markdownDescription": "Specifies whether to show contributor statistics in _Contributors_ sections in the views. This can take a while to compute depending on the repository size", |
| 1566 | + "scope": "window", |
| 1567 | + "order": 7 |
| 1568 | + }, |
| 1569 | + "gitlens.views.showRelativeDateMarkers": { |
| 1570 | + "type": "boolean", |
| 1571 | + "default": true, |
| 1572 | + "markdownDescription": "Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views", |
| 1573 | + "scope": "window", |
| 1574 | + "order": 8 |
| 1575 | + }, |
1555 | 1576 | "gitlens.views.defaultItemLimit": { |
1556 | 1577 | "type": "number", |
1557 | 1578 | "default": 10, |
|
1566 | 1587 | "scope": "window", |
1567 | 1588 | "order": 11 |
1568 | 1589 | }, |
1569 | | - "gitlens.views.showRelativeDateMarkers": { |
1570 | | - "type": "boolean", |
1571 | | - "default": true, |
1572 | | - "markdownDescription": "Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views", |
1573 | | - "scope": "window", |
1574 | | - "order": 20 |
1575 | | - }, |
1576 | 1590 | "gitlens.views.formats.commits.label": { |
1577 | 1591 | "type": "string", |
1578 | 1592 | "default": "${❰ tips|11? ❱➤ }${message}", |
|
9067 | 9081 | "title": "Compare with Working Tree", |
9068 | 9082 | "icon": "$(compare-changes)" |
9069 | 9083 | }, |
| 9084 | + { |
| 9085 | + "command": "gitlens.views.setContributorsStatisticsOff", |
| 9086 | + "title": "Hide Contributors Statistics", |
| 9087 | + "icon": "$(graph-line)" |
| 9088 | + }, |
| 9089 | + { |
| 9090 | + "command": "gitlens.views.setContributorsStatisticsOn", |
| 9091 | + "title": "Show Contributors Statistics", |
| 9092 | + "icon": "$(graph-line)" |
| 9093 | + }, |
9070 | 9094 | { |
9071 | 9095 | "command": "gitlens.views.setResultsCommitsFilterAuthors", |
9072 | 9096 | "title": "Filter Commits by Author...", |
|
12510 | 12534 | "command": "gitlens.views.setBranchComparisonToWorking", |
12511 | 12535 | "when": "false" |
12512 | 12536 | }, |
| 12537 | + { |
| 12538 | + "command": "gitlens.views.setContributorsStatisticsOff", |
| 12539 | + "when": "false" |
| 12540 | + }, |
| 12541 | + { |
| 12542 | + "command": "gitlens.views.setContributorsStatisticsOn", |
| 12543 | + "when": "false" |
| 12544 | + }, |
12513 | 12545 | { |
12514 | 12546 | "command": "gitlens.views.setResultsCommitsFilterAuthors", |
12515 | 12547 | "when": "false" |
|
15849 | 15881 | "when": "viewItem =~ /gitlens:contributors\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
15850 | 15882 | "group": "inline@1" |
15851 | 15883 | }, |
| 15884 | + { |
| 15885 | + "command": "gitlens.views.setContributorsStatisticsOff", |
| 15886 | + "when": "viewItem == gitlens:contributors && config.gitlens.views.showContributorsStatistics", |
| 15887 | + "group": "inline@99" |
| 15888 | + }, |
| 15889 | + { |
| 15890 | + "command": "gitlens.views.setContributorsStatisticsOn", |
| 15891 | + "when": "viewItem == gitlens:contributors && !config.gitlens.views.showContributorsStatistics", |
| 15892 | + "group": "inline@99" |
| 15893 | + }, |
15852 | 15894 | { |
15853 | 15895 | "command": "gitlens.views.addAuthors", |
15854 | 15896 | "when": "viewItem =~ /gitlens:contributors\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
|
0 commit comments