🔨 change how ids work in scm providers. remove drag

This commit is contained in:
Joao Moreno
2017-03-24 16:44:38 +01:00
parent ce1222ba68
commit e4a765da2d
7 changed files with 18 additions and 42 deletions

View File

@@ -14,6 +14,7 @@ export class GitSCMProvider implements SCMProvider {
private disposables: Disposable[] = [];
get id(): string { return 'git'; }
get resources(): SCMResourceGroup[] { return this.model.resources; }
get onDidChange(): Event<SCMResourceGroup[]> {
@@ -42,7 +43,7 @@ export class GitSCMProvider implements SCMProvider {
}
constructor(private model: Model, private commandCenter: CommandCenter) {
scm.registerSCMProvider('git', this);
scm.registerSCMProvider(this);
}
open(resource: Resource): ProviderResult<void> {