Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Doc4meNew to Visual Studio Code? Get it now.
Doc4me

Doc4me

caioreis123

|
30 installs
| (0) | Free
ai documentation generation tool
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Doc4me

Typing "doc4me" in the vscode command pallet [Shift + Command + P (Mac) / Ctrl + Shift + P (Windows/Linux)] to see all available commands and execute them.

All generated files will be stored on a docs directory on the project root (this directory location is configurable).

1. Doc 4 me the whole project

Will generate a single markdown file for each code file in your project that is target by the app (you can change which files to target in the extension configuration). In this markdown file will be written in plain english (or another language, since the prompt is also configurable) an explanation about the code. A markdown file containing an explanation about the whole project will also be generated.

2. Doc 4 me the current directory

Will generate documentation for just the files stored in the directory of the file the use is currently reading. The markdown explaining the whole project will not be generated.

3. Doc 4 me the current file

As you might guess it by now, will generate documentation for just the file the use is currently viewing when the command is called.

4. Ask a question about the current file

Opens up an input box in which the user will be able to ask any question about the contents of the currently viewing file. The answer will appear on a popup box, but also on a file named ask.txt inside the already mentioned docs directory on the project root.

5. Calculate Billing

At each command execution the extension stores the amount of input and output tokens on a tokens.csv file that is used to calculate the cost in dollars of the calls until that point. It can be useful in big projects so the user can generate documentation for just one directory and calculate that cost so the user can estimate the cost for other directories. The csv file can be manually deleted in order to reset cost calculation for future api calls.

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