diff --git a/extensions/typescript/src/features/refactorProvider.ts b/extensions/typescript/src/features/refactorProvider.ts index f6490efa5d7..39d40cd1f0a 100644 --- a/extensions/typescript/src/features/refactorProvider.ts +++ b/extensions/typescript/src/features/refactorProvider.ts @@ -147,9 +147,9 @@ export default class TypeScriptRefactorProvider implements vscode.CodeActionProv } else { for (const action of info.actions) { actions.push({ - title: info.description, + title: action.description, command: { - title: info.description, + title: action.description, command: ApplyRefactoringCommand.ID, arguments: [document, file, info.name, action.name, range] }