1.3.11 - Quick Pick

This commit is contained in:
2022-01-27 00:44:12 -07:00
parent 2b513d9087
commit b91c5843df
5 changed files with 66 additions and 26 deletions

Binary file not shown.

View File

@ -93,7 +93,7 @@ Quick Fix - Public (Expression Body)
Quick Fix - Instance Field to Calisthenics 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} Code Generator - Quick Pick {promiseLinesHelper.codeGeneratorQuickPick}

View File

@ -1,12 +1,12 @@
{ {
"name": "type-script-helper", "name": "type-script-helper",
"version": "1.3.10", "version": "1.3.11",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "type-script-helper", "name": "type-script-helper",
"version": "1.3.10", "version": "1.3.11",
"devDependencies": { "devDependencies": {
"@types/glob": "^7.1.1", "@types/glob": "^7.1.1",
"@types/mocha": "^5.2.7", "@types/mocha": "^5.2.7",

View File

@ -4,7 +4,7 @@
"description": "Helper for VS Code in TypeScript", "description": "Helper for VS Code in TypeScript",
"publisher": "IFX", "publisher": "IFX",
"repository": "https://github.com/mikepharesjr/YO-VSCode/tree/master/type-script-helper", "repository": "https://github.com/mikepharesjr/YO-VSCode/tree/master/type-script-helper",
"version": "1.3.10", "version": "1.3.11",
"engines": { "engines": {
"vscode": "^1.40.0" "vscode": "^1.40.0"
}, },

View File

@ -16,10 +16,26 @@ function codeGeneratorQuickPickLogic(): undefined {
label: "Class name (Camel-Cased)", label: "Class name (Camel-Cased)",
detail: "Segments Minus One (Object || Array)", detail: "Segments Minus One (Object || Array)",
output: "%ClassNameCamelCased%" 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", label: "Name",
detail: "Segments Last only name (no path)", detail: "Segments Last only name (no path)",
output: "%Name%" output: "%Name%"
}, {
label: "Namespace",
detail: "Namespace",
output: "%namespace%"
}, { }, {
label: "Name (Camel-Cased)", label: "Name (Camel-Cased)",
detail: "Segments Last only name (no path)", detail: "Segments Last only name (no path)",
@ -29,21 +45,61 @@ function codeGeneratorQuickPickLogic(): undefined {
detail: "Segments Last only name (no path)", detail: "Segments Last only name (no path)",
output: "%NameCamelCasedPlural%" output: "%NameCamelCasedPlural%"
}, { }, {
label: "Name (Plural)", label: "Name Detail",
detail: "Segments Last only name (no path)", detail: "",
output: "%NamePlural%" 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)", label: "Name (Humanized)",
detail: "Segments Last only name (no path)", detail: "Segments Last only name (no path)",
output: "%NameHumanized%" output: "%NameHumanized%"
}, { }, {
label: "Namespace", label: "Name (Null Segments)",
detail: "Namespace", detail: "",
output: "%namespace%" 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", label: "Suggested Type",
detail: "Type based on values in *.json file", detail: "Type based on values in *.json file",
output: "%SuggestedType%" output: "%SuggestedType%"
}, {
label: "Suggested Type Id",
detail: "",
output: "%SuggestedTypeId%"
}, {
label: "Suggested Type Id (Camel-Cased)",
detail: "",
output: "%SuggestedTypeIdCamelCased%"
}, { }, {
label: "Type", label: "Type",
detail: "Segments Minus One (!Object && !Array)", detail: "Segments Minus One (!Object && !Array)",
@ -52,22 +108,6 @@ function codeGeneratorQuickPickLogic(): undefined {
label: "Type (Camel-Cased)", label: "Type (Camel-Cased)",
detail: "Segments Minus One (!Object && !Array)", detail: "Segments Minus One (!Object && !Array)",
output: "%TypeCamelCased%" 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 => { ).then(item => {