Skip to content

natete/angular-file-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]"

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%