mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
🔨 change how ids work in scm providers. remove drag
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user