GithubHelp home page GithubHelp logo

vscode-add-nativescript-files's Introduction

Add NativeScript Files for VS Code

This extension allows you to add NativeScript files with snippets included to your VS Code project.

Inspired by https://github.com/sebastianbaar/vscode-add-angular-files.

Features

Right click on a file or a folder in your current project. There are two options added to the context menu Add Page and Add Component:

Add Page

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

home-page.ts
home-page.xml
home-page.css
home-view-model.ts

Add Component

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

clock-component.ts
clock-component.xml
clock-component.css

The naming of the files as well as the snippets are based on the official Hello World typescript template

Installation

  1. Install Visual Studio Code 1.12.0 or higher
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P / fn-F1 (OSX)
  4. Select Install Extension
  5. Type add nativescript files and press enter
  6. Select the extension from the list and click Install
  7. Reload Visual Studio Code

Disclaimer

Important: This extension due to the nature of it's purpose will create files on your hard drive. 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-add-nativescript-files's People

Contributors

alexrainman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.