Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Generate Angular Style Nativescript Files in VS CodeNew to Visual Studio Code? Get it now.
Generate Angular Style Nativescript Files in VS Code

Generate Angular Style Nativescript Files in VS Code

CoderTonyB

|
4,060 installs
| (0) | Free
Easily add boilerplate Nativescript/Angular files to your Visual Studio Code project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-nativescript-generator

This extension allows you to easily add boilerplate Nativescript/Angular files to your Visual Studio Code project

Based on code from from Sebastian Baar VS Code Add Angular2 Files and Josh Sommer vscode-add-angular-native-files

Feature Request?

Open an issue at https://github.com/CoderTonyB/vscode-nativescript-generator/issues and I'll see what I can do about adding it. Feel free to contribute to the project there as well!

Changelog

0.0.1 Initial Release

0.0.6 changed .ts file paths so they default to ./pages/pagename/pagename.component.ts

0.0.8 changed .html extension to .xml as that's what progress seems to be using as their default. Also helps it work with other extensions

0.0.9 Undid what I did in 0.0.8! It helped with some things but threw annoying warnings.

Features

Right click on a file or a folder in your current project. In the context menu is the option to add a native script page

Add Nativescript Page

This command adds the following files to your new folder (let's assume you typed in home):

home/home.component.ts
home/home.component.html
home/home.component.css

alt text

Disclaimer

Important: This extension due to the nature of it's purpose will create files on your hard drive and if necessary create the respective folder structure. While it should not override any files during this process, I'm not giving any guarantees or take any responsibility in case of lost data.

License

MIT "# vscode-nativescript-generator"

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