🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
autoDocstring: VSCode Python Docstring Generator
Extension for Visual Studio Code - Generates python docstrings automatically
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
AI Python Docstring Generator - Visual Studio Marketplace
November 19, 2020 - Extension for Visual Studio Code - Automatically generates summary for python functions using AI
Discussions

Python Visual Studio Code autoDocstring Configuration - Stack Overflow
Goal: generate docstring in vscode for Python automatically and format the generated docstring to my liking. Solution: I installed the autoDocstring extension. Problem: I don't know how to get the More on stackoverflow.com
🌐 stackoverflow.com
No More Python Docstring Despair: Highlight Them in VSCode!
What happens when you start a string with a double quote instead of single quotes? More on reddit.com
🌐 r/vscode
8
21
March 12, 2024
Wrote an open source VSCode plugin to generate docstrings, using a self-hosted server
interesting stuff! going to take a look More on reddit.com
🌐 r/Python
6
3
May 31, 2023
Which docstring style works best with VS Code?

So Im super interested to see what people say, I would love some other opinions than my own.

I use the autodocstring extension for vscode set to autosetup the docstring template when pressing enter after typing """. Google styling. Gives a template that you can tab through, and can try to guess the types youre using. Its done me pretty well as long as you write the function/the inputs and returns before the docstring setup

Using pylint to scan code for missing docstrings and black/yapf to autoformat the lines that are too long.

More on reddit.com
🌐 r/learnpython
6
13
March 11, 2020
🌐
GitHub
github.com › graykode › ai-docstring
GitHub - graykode/ai-docstring: Visual Studio Code extension to quickly generate docstrings for python functions using AI(NLP) technology. · GitHub
Visual Studio Code extension to quickly generate docstrings for python functions using AI(NLP) technology. This project is forked for NilsJPWerner/autoDocstring.
Author: graykode
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
ChatGPT: Docstring Generator - Visual Studio Marketplace
Extension for Visual Studio Code - Automatically generate Python docstrings using ChatGPT.
🌐
Towards Data Science
towardsdatascience.com › home › latest › 3 easy steps to folding docstrings in vscode
3 Easy Steps to Folding Docstrings in VSCode | Towards Data Science
January 23, 2025 - Programmers using VSCode should add "docstrings" to their projects which generate the documentation for users of the code to read when they hover over it in VSCode or press Shift-Tab in Jupyter notebooks. Programmers can also use extensions to auto-generate the docstring skeletons to save time, for instance, the excellent Python Docstring Generator which can be obtained here - https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Python DocString Generator AI - Visual Studio Marketplace
March 18, 2021 - Extension for Visual Studio Code - Python docstring generator, for functions, based on deep learning model, configurable.
Find elsewhere
🌐
CopyAssignment
copyassignment.com › python-docstring-generator-pycharm-and-vscode
Python Docstring Generator | PyCharm And VsCode
Disclaimer: References to any specific company, product or services on this Site are not controlled by GoDaddy.com LLC and do not constitute or imply its association with or endorsement of third party advertisers
🌐
GitHub
github.com › aijurist › python-docstring-generator
GitHub - aijurist/python-docstring-generator: VS Code extension for generating docstrings for python functions, classes and modules
Generate docstrings for Python functions with a single click or keyboard shortcut · Automatically detects function parameters, return types, and potential exceptions · Creates properly formatted docstrings following PEP-257 standards · Works entirely within VSCode - no external API calls needed
Author: aijurist
🌐
Microsoft Developer Blogs
devblogs.microsoft.com › dev blogs › microsoft for python developers blog › python in visual studio code – november 2024 release
Python in Visual Studio Code - November 2024 Release - Microsoft for Python Developers Blog
November 1, 2024 - You can generate a docstring template for classes or methods by typing """ or ''', pressing kbstyle(Ctrl+Space), or selecting the lightbulb to invoke the Generate Docstring Code Action.
🌐
Python How Tos
campbell-muscle-lab.github.io › howtos_Python › pages › documentation › best_practices › vscode_docstring_extension › vscode_docstring_extension.html
Visual Studio Docstring Extension - Python How Tos
To automatically insert the docstring with proper formatting, you type three quotes, """ like a normal docstring, then hit Enter to let the extension automatically format the docstring.
🌐
GitHub
github.com › aijurist › Docstring-Generator-for-Python
GitHub - aijurist/Docstring-Generator-for-Python: VS Code extension for generating docstrings for python functions, classes and modules · GitHub
Generate docstrings for Python functions with a single click or keyboard shortcut · Automatically detects function parameters, return types, and potential exceptions · Creates properly formatted docstrings following PEP-257 standards · Works entirely within VSCode - no external API calls needed
Author: aijurist
🌐
Towards Data Science
towardsdatascience.com › home › latest › how to generate docstrings for data science projects
How to Generate Docstrings for Data Science Projects | Towards Data Science
January 22, 2025 - ... We will be using the default Google docstring format for the rest of the examples. Let's write a simple function to add two integer values. ... To generate the docstring, place the cursor in the line directly below the function definition (i.e.
🌐
Reddit
reddit.com › r/vscode › no more python docstring despair: highlight them in vscode!
r/vscode on Reddit: No More Python Docstring Despair: Highlight Them in VSCode!
March 12, 2024 -

Hey everyone!

I'm excited to share a simple yet effective tool I've developed that's all about enhancing your Python coding experience in VSCode. We all know how Docstrings are crucial for understanding and documenting our Python code, but they often blend into the background, treated as standard comments in VSCode. This can make them harder to read and differentiate from the rest of your code.

That's why I created a Python Docstring Highlighter for VSCode that recognizes the main styles (Google, NumPy, and Sphinx). This extension not only makes your code more readable but also allows you to customize the highlighting to fit your theme, making your coding environment as comfortable and productive as possible.

Python Docstring Highlighter Demo (google style)

Whether you're documenting your own project or navigating through others', this extension is designed to make your life easier and your code more accessible. Give it a try and see the difference for yourself!

Source code

Install extension (VSCode)

Looking forward to your feedback and suggestions. Happy coding!

🌐
VsixHub
vsixhub.com › vsix › 30663
Python Docstring Generator 0.5.2 VSIX (Old Version) - VsixHub
Free Download Python Docstring Generator 0.5.2 Vsix File for Visual Studio Code
🌐
Reddit
reddit.com › r/python › wrote an open source vscode plugin to generate docstrings, using a self-hosted server
r/Python on Reddit: Wrote an open source VSCode plugin to generate docstrings, using a self-hosted server
May 31, 2023 -

Hi, Pythonistas

I wanted to share something I’ve worked on recently: I wrote a proof of concept plugin for VSCode to generate docstrings.

You can find it on GitHub: https://github.com/paolorechia/oasis

It is open source and runs completely local, using a Large Language Model of permissive license (Salesforce Codegen).

This means you can use this in any scenario, even if you don’t have access to GitHub Copilot or other tools that share your code through the cloud.

It works by using a library called guidance, which improves how well the model generation fits into the expected format.

With this we can use the smaller models that run on CPU and still generate docstrings in the correct format.

For instance, I can have the inference server running on an 2019 intel MacBook Pro and it runs smoothly when using Salesforce/Codegen-350M.

Of course, it’s still just a proof of concept, but I think this shows some potential on having open source codegen tooling.

I also wrote a Medium article describing the development process of this plugin, which you can find in the git repository’s README.

Thanks for reading this post, cheers!

🌐
Medium
leowu507.medium.com › how-to-make-writing-docstrings-quick-and-easy-in-vs-code-e6ddfcd0504d
Efficient Docstring Writing with autoDocstring in VS Code | by Leo Wu | Medium
June 20, 2023 - I’m here to share a tool called ... in VS Code. ... autoDocstring is a highly useful VS Code extension that generates the preferred docstring template based on a function signature specified....