1.0.0 • Published 4 years ago
@phoenix-plugin-registry/waymans-folder-file-maker v1.0.0
Folder & File Maker for Brackets
A nice way of creating new folders and files in a project. Templates can also be used on files.
Installing the Extension
Go to Brackets' Extension Manager(EM) and either:
- search by name and install,
- use this github url and paste to EM link,
- or upload manually with this repo's zip file.
Using the Extension
- click on the Folder & File Maker icon (Fm) in the toolbar
- write designated folder name(s) and a file name (one can be optional)
- if folder names are excluded, the file will be made in the root directory
- if the file name is excluded, the folder(s) will be created if not already
- can create nested folders, i.e.:
- folder
srcdoes not yet exist - submiting
src/jswill create foldersrcwith sub-folderjs - submiting
src/jsandscript.jswill createscript.jsinjs - it wont create
src/jsfolders because they exist from previous submission
- folder
click OK to create!
Add a template
Part I:
- create a folder with the title you want to see for the templates dropdown,
in this folder will be your single file that you want to use as a template.
Part II:
- in Brackets editor, got to
Help > Show Extensions Folder, - navigate your way to
waymans-folder-file-maker, - paste your folder (with the template file) into the
templatesfolder, - reload with extensions (
Debug > Reload with Extensions) to see changes.
Disclaimer
As this was my first Brackets extension and initially was for personal use it has not been extremely tested. It may not work on all versions/systems or with certain extensions.
Notes
Knowing how to change/remove templates will be understood by knowing the
Add a templatesection. Feel free to clone this repo to change/add templates for your own use or in anyway you see fit.
1.0.0
4 years ago