diff --git a/extensions/typescript-language-features/package.json b/extensions/typescript-language-features/package.json index 82c9026bf41..653ed816057 100644 --- a/extensions/typescript-language-features/package.json +++ b/extensions/typescript-language-features/package.json @@ -886,6 +886,16 @@ "title": "%codeActions.refactor.extract.function.title%", "description": "%codeActions.refactor.extract.function.description%" }, + { + "kind": "refactor.extract.interface", + "title": "%codeActions.refactor.extract.interface.title%", + "description": "%codeActions.refactor.extract.interface.description%" + }, + { + "kind": "refactor.extract.type", + "title": "%codeActions.refactor.extract.type.title%", + "description": "%codeActions.refactor.extract.type.description%" + }, { "kind": "source.organizeImports", "title": "%codeActions.source.organizeImports.title%" diff --git a/extensions/typescript-language-features/package.nls.json b/extensions/typescript-language-features/package.nls.json index fe9728e36de..db6e1366c15 100644 --- a/extensions/typescript-language-features/package.nls.json +++ b/extensions/typescript-language-features/package.nls.json @@ -77,8 +77,12 @@ "configuration.suggest.completeJSDocs": "Enable/disable suggestion to complete JSDoc comments.", "typescript.preferences.renameShorthandProperties": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.", "codeActions.refactor.extract.constant.title": "Extract constant", - "codeActions.refactor.extract.constant.description": "Extract an expression to constant.", + "codeActions.refactor.extract.constant.description": "Extract expression to constant.", "codeActions.refactor.extract.function.title": "Extract function", - "codeActions.refactor.extract.function.description": "Extract an expression to method or function.", + "codeActions.refactor.extract.function.description": "Extract expression to method or function.", + "codeActions.refactor.extract.type.title": "Extract type", + "codeActions.refactor.extract.type.description": "Extract type to a type alias.", + "codeActions.refactor.extract.interface.title": "Extract interface", + "codeActions.refactor.extract.interface.description": "Extract type to an interface.", "codeActions.source.organizeImports.title": "Organize imports" }