Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PyDocNew to Visual Studio Code? Get it now.
PyDoc

PyDoc

Vinay Hegde

|
16,069 installs
| (1) | Free
Generates the docstring for functions and classes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PyDoc

Marketplace Version Downloads Installs

This is a simple VSCode extension which helps in adding Docstrings to your python code. Currently docstrings for Functions and Classes are supported.

Features

Add elaborated Docstrings to your python code!

Currently Supports docstrings for:

  • Functions - with/without arguments and keyword arguments
  • Class

Extension Settings

After you have installed the extension:

  • Select the function/class that you want to write the docstring for
  • Hit Ctrl+Shift+P which brings up the command palette
  • Select Docstring and hit Enter

Tip: Please refer the below GIF for a demo

Demo

Release Notes

All notable changes to the "PyDoc" extension are documented in the changelog

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