Extension for Visual Studio Code which analyze your files content on your computer!
We analyze files content by whitespace indentation so we can supports all programming languages. Parse algorithm is available on NPM :
- Create file content after creating a new file. We try to put the file name in the generated content.
- Create structure after creating new directory. We analyze siblings directories and create files with content.
- You can compare files if you want to find out on what basis the content was generated.
How it work?
This extension handle all events about create directory.
If you want to exclude folder you have to change the
By default, we skip the files listed in
Once you have created the folder, we start analyzing the contents of the siblings folders.
After the analysis is completed, we will ask if you want to create files and folders based on siblings structure.
For example, you have a project with this structure:
│ ├── firstComponent
| | ├── firstComponent.js
| | ├── firstComponent.html
| │ └── firstComponent.css
│ └── headerComponent
| ├── headerComponent.js
| ├── headerComponent.html
| └── headerComponent.css
| ├── HeaderTests.js
│ └── mockData.js
When you create new folder
./src/components/ this extension generate 3 files in new directory: footerComponent.js, footerComponent.html and footerComponent.css.
Otherwise if we create the folder
awesome in the path
./src/tests/ this extension will create the files
Generated files have content!