Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Albertool DocGenNew to Visual Studio Code? Get it now.
Albertool DocGen

Albertool DocGen

SidAlbertaodasmassa

|
1 install
| (0) | Free
📄 Gerador automático de documentação para projetos backend — README, ROUTES, SECURITY, ENV, CHANGELOG e mais
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⚠️ BETA VERSION — Under active development. Bugs are expected. Use at your own risk. Currently supports TypeScript and JavaScript only. PHP, C#, and Python support coming in future versions.


Albertool DocGen

Automatically generates complete documentation for your backend project with a single command.

Scans src/, reads package.json, analyzes routes, environment variables, security, commits and more — everything becomes organized markdown files inside a docs/ folder.


What is generated

File Content
README.md Project overview, technologies, scripts and installation
LIBS.md All dependencies with version and description
ROUTES.md API routes grouped by HTTP method
ENV.md Environment variables detected automatically
SECURITY.md Security mechanisms based on installed dependencies
CHANGELOG.md Commit history with semantic emojis
CONTROLLERS.md Methods, parameters and return type of each controller
SERVICES.md Methods of each service
MODELS.md Fields, getters, setters and source code
REPOSITORIES.md Methods of each repository
MIDDLEWARES.md Detected middlewares and their type
SCHEMAS.md Zod schemas with fields and validations
MISC.md Files outside the MVC pattern (utils, config, errors)

How to use

  1. Open your project in VSCode
  2. Ctrl+Shift+P → DocGen: Generate All Documentation
  3. The docs/ folder is created at the root with all files

Output example

CONTROLLERS.md

## 🎯 UserController

| Method     | Parameters                        | Return              |
|------------|-----------------------------------|---------------------|
| `getAll`   | `req: Request, res: Response`     | `Promise<Response>` |
| `register` | `req: Request, res: Response`     | `Promise<Response>` |

ENV.md

| Variable    | Description                          | Required |
|-------------|--------------------------------------|----------|
| `DB_HOST`   | Database host                        | ✅       |
| `JWT_SECRET`| Secret key for token generation      | ✅       |

LIBS.md

| Lib         | Version   | Description                      |
|-------------|-----------|----------------------------------|
| `express`   | `^4.18.2` | HTTP framework for Node.js       |
| `typeorm`   | `^0.3.20` | ORM for TypeScript and JavaScript|
| `zod`       | `^3.22.4` | Schema validation                |

Automatic detection

Technologies — detects from package.json and documents in README and SECURITY what is being used: JWT, bcrypt, Helmet, CORS, rate limiting, 2FA, Zod, cookies and more.

Environment variables — reads .env, .env.example and scans process.env.X across all files. Normalizes everything to uppercase automatically.

Routes — captures Express pattern (router.get, app.post) and TypeScript decorators (@Get, @Post). Groups by HTTP method with handler and source file.

Commits — reads git log and adds semantic emojis automatically:

Keyword in commit Emoji
feat, add ✨
fix, bug 🐛
refactor ♻️
doc 📚
test ✅
perf ⚡
security 🔐
remove, delete 🗑️

Expected project structure

The extension works best with projects following the MVC pattern:

src/
├── controllers/
├── services/
├── models/
├── repositories/
├── middlewares/
├── schemas/
├── routes/
├── config/
└── errors/

Files outside these folders are automatically documented in MISC.md.


⚠️ Known limitations (Beta)

  • TypeScript and JavaScript only — PHP, C# and Python are not supported yet
  • Projects with non-standard folder structures may generate incomplete docs
  • Zod schemas must follow the z.object({}) pattern to be detected
  • Git changelog requires an initialized repository with at least one commit

Part of the Albertool ecosystem

  • Albertool Constructor — constructor, getters, setters and interface generator

Philosophy

Built by devs, for devs. You write the code, the extension documents it.


License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft