Skip to content

alejalapeno/scaffixer

Repository files navigation

Scaffixer

Scaffixer enables a context shortcut for scaffolding out entire files and directory trees for when snippets just aren't enough. Setup your own boilerplate template, custom input prompts, and Scaffixer will output the files right where you need them.

Select one of your templates

Create from templates

Features

EJS Templating

Use EJS tags for simple replacements. Works with file names, directory names, and file contents.

// <%= Name %>.js
import * as React from 'react';

const <%= Name %> = (props) => {
	return (
		<>
		</>
	)
};

export default <%= Name %>;

Custom Prompts

Set the values you'll need to replace in your EJS template and Scaffixer will collect inputs for them.

Extension Settings

This extension contributes the following settings:

  • scaffixer.templates: an array of objects describing your templates.

example:

{
	"name": "React Component",
	"description": "Create a new React component directory with SCSS module.",
	"location": "/Users/steve/templates/scaffixer-react-component",
	"prompts": ["Name"]
}

About

VSCode extension that enables a context shortcut for scaffolding out entire files and directory trees for when snippets just aren't enough.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published