Skip to content

natete/angular-file-templates

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 37 commits ahead of sunray97:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Based on

This extension is based on sunray97's newfile-from-template

Angular-File-Templates

Angular-Template-Files is an extension for Brackets editor. Provides some common Angular template files to create your new Angular components in your desired path and indicating the module to attach it.

Usage

A new "New as" item will be added in your Brackets editor. There you can find templates that are available so far. You can also find a new "New from template" item where you will get to a more general form to create your file. All these items have their corresponding hotkey. Once you have selected any of the options you will be prompted for the path (the extension will add .controller.js, .service.js, etc) and the module if needed. You can add a file using the contextual menu (right-click) on the files area.

Configuration

You can set the author name of your files by setting the corresponding option either in your global or project preferences file.

i.e. "angular-file-templates.author" : "John Doe john.doe@mail.com"

You can tweak the templates that you can find in the corresponding extension folder under the config folder (i.e. /home/johndoe/.config/Brackets/extensions/user/angular-file-templates/config)

Don't rename the files you find there in order to keep the extension working.

About

an Extension of Brackets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.8%
  • CSS 4.0%
  • HTML 2.2%