Converts the selected json object to a jsdoc javascript model.
Allows you to select a json model where the property name is the property and the property value is the type and convert it into a js class with jsdoc definitions
- Select the json object
- Right click then select Convert to JS Model or ctrl+shift+p type and select Convert to JS Model
- Enter a class name or press enter for the default (file name)
Requires visual studio > v1.55.2
None
- Can not handle nested objects (fixed in v0.0.6)
- Does not handle arrays (fixed in v0.0.7)
- Does not identify Similar class types when handling nested objects
Initial release
Fixed bug where property type was swapped with property name in constructor
Add support for vs code 1.55.2
Improved documentation
Added an icon
- Removed ClassName from Constructor declaration
- Changed default ClassName to be the name of the current opened file
- Added support for nested Objects
- Changed types to be Capitalized
- Added support for DateTime identification
- Added support for nested Arrays
- Fixed setting file name for default class name
- Added support for "dirty" json objects
- Fixed default name for untitled files
- Changed Constructor typedef to shorthand
- Reimplemented custom Constructor Object naming by separation of ~
Enjoy!