Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Comment GPTNew to Visual Studio Code? Get it now.
Comment GPT

Comment GPT

Jumpingeal

|
329 installs
| (0) | Free
Utilise ChatGPT to instantly add comments and docstrings to your programs!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

comment-gpt README

This Extension interfaces with chatgpt to allow you to easily add inline comments, docstrings, or both to your functions.

Features

There are 3 commands currently implemented in this extension

  • Add Docstring
  • Add Inline Comments
  • Add Inline Comments and Docstring

Requirements

In order to use this extension you have to have a valid ChatGPT API Key.

Creating one can be done here

This may require paying some amount for API tokens, however this extension uses ChatGPT version 3.5 therefore the usage is very small.

Once you have gotten our API Key, you can add it to the extension with the following commands.

  1. Open Palette (Default Ctrl+Shift+P)
  2. Search "Add API Key"
  3. Enter API key

Known Issues

This extension primarily uses ChatGPT AI Langauge Model, therefore there may be instances where as well as providing docstrings/inline comments, it also includes flavour text. However this is rare.

Release Notes

Users appreciate release notes as you update your extension.

0.0.1

Initial release of Comment-GPT

0.0.2

Added logo to extension

0.0.6

  • Fixed max token limit for API call
  • Renamed aspects of the extension and command IDs

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