Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>vscode-template-forgeNew to Visual Studio Code? Get it now.
vscode-template-forge

vscode-template-forge

rebart

|
6 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Template Forge extension

ToDo

  • Schema adjustments to the new template configuration
  • Put parsing of values sequences into an own service

How to create custom templates

Configuration Variables

template.forge.templatePaths: []

Flowcharts

graph TD;
    START-->B;

Ideas

{
    "path": "$c#_controllerLocation",
    "values": [
        {
            "region": "queries",
            "fileName": "controller.cs"
        }
    ]
}
template.forge.variables: {
    "ignoreInputWhenDefined": true,
    "c#_webApplicationLocation": "...",
    "c#_controllerLocation": "{c#_webApplicationLocation}/Controllers/"
}

Build configuration for vscode menus dynamically before each build. If this is possible a pre selection could be defined to only show necessary items in the sub menu.

activeProfiles: ["c#", "misc", "ts"]

If empty all profiles will be added (default state, no adjustments of the package.json)

Links

When clauses for templates: https://code.visualstudio.com/api/references/when-clause-contexts

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