diff --git a/type-script-helper-1.3.11.vsix b/type-script-helper-1.3.11.vsix new file mode 100644 index 0000000..62cd9ca Binary files /dev/null and b/type-script-helper-1.3.11.vsix differ diff --git a/type-script-helper/README.md b/type-script-helper/README.md index c22ca61..dedc330 100644 --- a/type-script-helper/README.md +++ b/type-script-helper/README.md @@ -93,7 +93,7 @@ Quick Fix - Public (Expression Body) Quick Fix - Instance Field to Calisthenics -## 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10 +## 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11 ----------------------------------------------------------------------------------------------------------- Code Generator - Quick Pick {promiseLinesHelper.codeGeneratorQuickPick} diff --git a/type-script-helper/package-lock.json b/type-script-helper/package-lock.json index 1314e33..fe61a85 100644 --- a/type-script-helper/package-lock.json +++ b/type-script-helper/package-lock.json @@ -1,12 +1,12 @@ { "name": "type-script-helper", - "version": "1.3.10", + "version": "1.3.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "type-script-helper", - "version": "1.3.10", + "version": "1.3.11", "devDependencies": { "@types/glob": "^7.1.1", "@types/mocha": "^5.2.7", diff --git a/type-script-helper/package.json b/type-script-helper/package.json index 92f4078..6e302ae 100644 --- a/type-script-helper/package.json +++ b/type-script-helper/package.json @@ -4,7 +4,7 @@ "description": "Helper for VS Code in TypeScript", "publisher": "IFX", "repository": "https://github.com/mikepharesjr/YO-VSCode/tree/master/type-script-helper", - "version": "1.3.10", + "version": "1.3.11", "engines": { "vscode": "^1.40.0" }, diff --git a/type-script-helper/src/promiseLinesHelper.ts b/type-script-helper/src/promiseLinesHelper.ts index dff3b51..07dca1f 100644 --- a/type-script-helper/src/promiseLinesHelper.ts +++ b/type-script-helper/src/promiseLinesHelper.ts @@ -16,10 +16,26 @@ function codeGeneratorQuickPickLogic(): undefined { label: "Class name (Camel-Cased)", detail: "Segments Minus One (Object || Array)", output: "%ClassNameCamelCased%" + }, { + label: "Class name (Camel-Cased and Plural)", + detail: "Segments Minus One (Object || Array)", + output: "%ClassNameCamelCasedPlural%" + }, { + label: "Class name (Plural)", + detail: "Segments Minus One (Object || Array)", + output: "%ClassNamePlural%" + }, { + label: "Key Without Brackets Segment at Level", + detail: "", + output: "%KeyWithoutBracketsSegmentAtLevel%" }, { label: "Name", detail: "Segments Last only name (no path)", output: "%Name%" + }, { + label: "Namespace", + detail: "Namespace", + output: "%namespace%" }, { label: "Name (Camel-Cased)", detail: "Segments Last only name (no path)", @@ -29,21 +45,61 @@ function codeGeneratorQuickPickLogic(): undefined { detail: "Segments Last only name (no path)", output: "%NameCamelCasedPlural%" }, { - label: "Name (Plural)", - detail: "Segments Last only name (no path)", - output: "%NamePlural%" + label: "Name Detail", + detail: "", + output: "%NameDetail%" + }, { + label: "Name Detail (Camel-Cased)", + detail: "", + output: "%NameDetailCamelCased%" + }, { + label: "Name Detail (Humanized)", + detail: "", + output: "%NameDetailHumanized%" + }, { + label: "Name Detail (Humanized) *Collection", + detail: "", + output: "%NameDetailHumanizedCollection%" }, { label: "Name (Humanized)", detail: "Segments Last only name (no path)", output: "%NameHumanized%" }, { - label: "Namespace", - detail: "Namespace", - output: "%namespace%" + label: "Name (Null Segments)", + detail: "", + output: "%NameNullSegments%" + }, { + label: "Name (Null Segments) *Collection", + detail: "", + output: "%NameNullSegmentsCollection%" + }, { + label: "Name (Plural)", + detail: "Segments Last only name (no path)", + output: "%NamePlural%" + }, { + label: "Name Segments", + detail: "", + output: "%NameSegments%" + }, { + label: "Name Segments *Collection", + detail: "", + output: "%NameSegmentsCollection%" + }, { + label: "Path without Brackets (Singularized)", + detail: "", + output: "%PathWithoutBracketSingularized%" }, { label: "Suggested Type", detail: "Type based on values in *.json file", output: "%SuggestedType%" + }, { + label: "Suggested Type Id", + detail: "", + output: "%SuggestedTypeId%" + }, { + label: "Suggested Type Id (Camel-Cased)", + detail: "", + output: "%SuggestedTypeIdCamelCased%" }, { label: "Type", detail: "Segments Minus One (!Object && !Array)", @@ -52,22 +108,6 @@ function codeGeneratorQuickPickLogic(): undefined { label: "Type (Camel-Cased)", detail: "Segments Minus One (!Object && !Array)", output: "%TypeCamelCased%" - }, { - label: "TypeSkipOne", - detail: "Segments Minus One (!Object && !Array)", - output: "%TypeSkipOne%" - }, { - label: "TypeSkipOne (Camel-Cased)", - detail: "Segments Minus One (!Object && !Array)", - output: "%TypeSkipOneCamelCased%" - }, { - label: "TypeSkipOne (Humanized)", - detail: "Segments Minus One (!Object && !Array)", - output: "%TypeSkipOneHumanized%" - }, { - label: "TypeSkipOne (Humanized) *Collection", - detail: "Segments Minus One (!Object && !Array)", - output: "%TypeSkipOneHumanizedCollection%" } ] ).then(item => {