Skip to content

Commit 02e0801

Browse files
committed
Adds remote-specific icons to view
1 parent 5d415b8 commit 02e0801

File tree

12 files changed

+78
-4
lines changed

12 files changed

+78
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1010

1111
![Issue linking](./images/ss-cl-issue-linking.png)
1212

13+
- Adds icons to remotes in the *GitLens* view based on the remote service provider
1314
- Adds multi-cursor support to current line annotations — closes [#291](https://github.com/eamodio/vscode-gitlens/issues/291)
1415
- Adds support to toggle annotations for each file individually or for all files at once — closes [#289](https://github.com/eamodio/vscode-gitlens/issues/289)
1516
- Adds new controls the interactive settings editor (*Open Settings* from the Command Palette) to configure this new behavior

images/dark/icon-bitbucket.svg

Lines changed: 11 additions & 0 deletions
Loading

images/dark/icon-github.svg

Lines changed: 3 additions & 0 deletions
Loading

images/dark/icon-gitlab.svg

Lines changed: 10 additions & 0 deletions
Loading

images/light/icon-bitbucket.svg

Lines changed: 11 additions & 0 deletions
Loading

images/light/icon-github.svg

Lines changed: 3 additions & 0 deletions
Loading

images/light/icon-gitlab.svg

Lines changed: 10 additions & 0 deletions
Loading

src/git/remotes/bitbucket-server.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ export class BitbucketServerService extends RemoteProvider {
2222
return `https://${this.domain}/projects/${project}/repos/${repo}`;
2323
}
2424

25+
get icon() {
26+
return 'bitbucket';
27+
}
28+
2529
get name() {
2630
return this.formatName('Bitbucket Server');
2731
}

src/git/remotes/bitbucket.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export class BitbucketService extends RemoteProvider {
1717
super(domain, path, protocol, name, custom);
1818
}
1919

20+
get icon() {
21+
return 'bitbucket';
22+
}
23+
2024
get name() {
2125
return this.formatName('Bitbucket');
2226
}

src/git/remotes/github.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ export class GitHubService extends RemoteProvider {
1717
super(domain, path, protocol, name, custom);
1818
}
1919

20+
get icon() {
21+
return 'github';
22+
}
23+
2024
get name() {
2125
return this.formatName('GitHub');
2226
}

0 commit comments

Comments
 (0)