Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>file-creatorNew to Visual Studio Code? Get it now.
file-creator

file-creator

Sakuy123

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

Usage:

  1. Create templates folder in project root
  2. Create files with .template extension. So for example if you create file {{componentName}}.ts.template it will resolve to {{componentName}}.ts in component folder.
  3. Write your actuall component code in .template files. You can use {{componentName}} inside of the files as like in step 3 to use your actuall component name in template.
  4. Right click on target folder and use Create component label, after that input will appear on the top, type your component name and press enter. Everything you marked as {{componentName}} will be replaced with input value.
  5. Enjoy your newly created component!
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft