This is a Model class generator extension. Steps to generate a class: 1- Install the visual studio code extension named "Model Class Generator" (author Asif Khan). 2- Make Sure you are in a directory/folder where you want to create the typescript file. 3- Go to command pallette (view -> command pallete or ctrl+shift+p). 4- Search for "create Model class" -> Enter. 5- Select language in which you want to create the class. 6- Select the location where you want the class to be generated. 7- Type the class name -> Enter. 8- Type property name -> Enter. 9- Select datatype -> Enter. 10- Press Enter if you are done with adding properties. 11- Select 'Yes' to generate constructor or 'No' for otherwise. 12- A class should be generated in the provided location. Note: 1-Repeat step 8 and 9 for multiple property addition. 2-Accepted Datatypes:
|