mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
SCM - input box value provider rendering (#198923)
* Initial implementation * Remove debug messages * Implementation using a custom ActionViewItem * Switched to using a custom action along with the custom action view item * Switch to using arrays * Refactored code (single provider is working) * Add ActionRunner to options * WIP - saving my work * Refactor things to support one provider * Add setting to enable/disable input action button * Add sourceControlId to the proposed API * Fix issue related to enablement * Remove code that is not in scope * Have the old action bar work with the setting * Remove code that was commented out * Add extension API changes * Update extensions/git/src/commitMessageProvider.ts Co-authored-by: João Moreno <joao.moreno@microsoft.com> * Fix compilation errors --------- Co-authored-by: João Moreno <joao.moreno@microsoft.com>
This commit is contained in:
@@ -1171,9 +1171,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
createSourceControl(id: string, label: string, rootUri?: vscode.Uri) {
|
||||
return extHostSCM.createSourceControl(extension, id, label, rootUri);
|
||||
},
|
||||
registerSourceControlInputBoxValueProvider(provider: vscode.SourceControlInputBoxValueProvider): vscode.Disposable {
|
||||
registerSourceControlInputBoxValueProvider(sourceControlId: string, provider: vscode.SourceControlInputBoxValueProvider): vscode.Disposable {
|
||||
checkProposedApiEnabled(extension, 'scmInputBoxValueProvider');
|
||||
return extHostSCM.registerSourceControlInputBoxValueProvider(extension, provider);
|
||||
return extHostSCM.registerSourceControlInputBoxValueProvider(extension, sourceControlId, provider);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user