Skip to content

ffaraone/vscode-pyfilesgen

Repository files navigation

Py Files Generator

Introduction

This extension help Python developers to generate a module/submodules tree filled with the __init__.py file.

The extension can also be customized with a set of generators each one with a list of files to generate.

By default, Py Files Generator generates a directories tree and put a __init__.py file in each.

Create custom generators

You can add your custom generators by adding them to your settings file.

Image of custom settings

Usage

To activate the extension right-click on a folder in the explorer pane:

Image of Context menu

Choose Python files generator... from the context menu.

From the quick pick menu choose the generator you want to use:

Image of quick pick

Generate python modules

Choose Python modules from the quick pick menu and then type the path you want to generate:

Image of input for path

Type enter and the modules will be generated.

Image of generated modules

Invoke custom generator

Choose the generator you want from the quick pick menu. For example choose Django App files:

Image of generated modules

And your files will be generated.

Image of generated files

License

Py Files Generator is licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published