Document extract constant and extract type alias

This commit is contained in:
Matt Bierner 2019-11-06 16:51:44 -08:00
parent c3983ca63b
commit 42d53cf373
2 changed files with 16 additions and 2 deletions

View file

@ -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%"

View file

@ -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"
}