extensions/typescript-language-features/src/languageFeatures/organizeImports.ts/register
export function register(
	selector: DocumentSelector,
	client: ITypeScriptServiceClient,
	commandManager: CommandManager,
	fileConfigurationManager: FileConfigurationManager,
	telemetryReporter: TelemetryReporter,
) {
	return vscode.Disposable.from(
		ImportsCodeActionProvider.register(
			client,
			API.v280,
			vscode.CodeActionKind.SourceOrganizeImports,
			localize('organizeImportsAction.title', "Organize Imports"),
			false,
			commandManager,
			fileConfigurationManager,
			telemetryReporter,
			selector
		),
		ImportsCodeActionProvider.register(
			client,
			API.v430,
			vscode.CodeActionKind.Source.append('sortImports'),
			localize('sortImportsAction.title', "Sort Imports"),
			true,
			commandManager,
			fileConfigurationManager,
			telemetryReporter,
			selector
		),
	);
}