Browse Source

Changes default views order

main
Eric Amodio 4 years ago
parent
commit
b151e96bb8
2 changed files with 30 additions and 25 deletions
  1. +29
    -25
      package.json
  2. +1
    -0
      src/views/historyView.ts

+ 29
- 25
package.json View File

@ -7077,6 +7077,10 @@
"icon": "images/views/repositories.svg"
},
{
"id": "gitlens.views.history",
"name": "History"
},
{
"id": "gitlens.views.fileHistory:gitlens",
"name": "File History",
"when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens",
@ -7092,44 +7096,44 @@
"visibility": "hidden"
},
{
"id": "gitlens.views.compare:gitlens",
"name": "Compare Commits",
"when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/compare.svg",
"visibility": "collapsed"
"id": "gitlens.views.branches",
"name": "Branches"
},
{
"id": "gitlens.views.search:gitlens",
"name": "Search Commits",
"when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/search.svg",
"id": "gitlens.views.remotes",
"name": "Remotes",
"visibility": "collapsed"
},
{
"id": "gitlens.views.branches",
"name": "Branches"
},
{
"id": "gitlens.views.contributors",
"name": "Contributors"
"id": "gitlens.views.tags",
"name": "Tags",
"visibility": "collapsed"
},
{
"id": "gitlens.views.history",
"name": "History"
"id": "gitlens.views.stashes",
"name": "Stashes",
"visibility": "collapsed"
},
{
"id": "gitlens.views.remotes",
"name": "Remotes"
"id": "gitlens.views.contributors",
"name": "Contributors",
"visibility": "collapsed"
},
{
"id": "gitlens.views.stashes",
"name": "Stashes"
"id": "gitlens.views.search:gitlens",
"name": "Search Commits",
"when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/search.svg",
"visibility": "collapsed"
},
{
"id": "gitlens.views.tags",
"name": "Tags"
"id": "gitlens.views.compare:gitlens",
"name": "Compare Commits",
"when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/compare.svg",
"visibility": "collapsed"
}
],
"explorer": [

+ 1
- 0
src/views/historyView.ts View File

@ -166,6 +166,7 @@ export class HistoryViewNode extends ViewNode {
return item;
}
}
export class HistoryView extends ViewBase<HistoryViewNode, HistoryViewConfig> {
protected readonly configKey = 'history';

Loading…
Cancel
Save