Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Template Generator
Template Generator

Template Generator

William Goi

|
251 installs
| (0) | Free
Generate your own template files to don't do repeatitive tasks during development.
Download

Generate your own template files to don't do repeatitive tasks during development.

After the installation, you can find the extension here; 1.png

Imagen that you're building your application, and your task is to create these pages below;


  • Product Detail page
  • Product List page

  • User Detail page
  • User List page

Considering that there's a standard between the pages (i.e: header, body, footer... almost equals), you can simplily create some files as template, and generate the new pages through the Template Generator.

2.PNG

Pay attention on "MODULE_NAME" tag, you must use that.

What only you need to do is to override the texts on your pages/class for "MODULE_NAME" (without quotes), that the extension will override from "Module Name" field. Basically, a replacing the texts.

*You needs to add underscore on begin and when ends the text as well. For some reason, here is blocking to add underscore when begin and ends texts.

Following the example with modules Product and User pages that you must to do, first it, you can create a template file as;


Template for Detail page

   <h4>Here is the _MODULE_NAME_ Detail page</h4>

Template List page

   <h4>Here is the **_MODULE_NAME_** List page</h4>

So now, you just filled the "Module Name" field with values as "User" / "Product", select the directory where are theses templates files that the extension will do the work for you, just click on "Generate" for that.

As like;


<h4>Here is the User Detail page</h4>
<h4>Here is the User List page</h4>

<h4>Here is the Product Detail page</h4>
<h4>Here is the Product List page</h4>

That's it!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft