autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

VSCode extension that generates docstrings for python files

Results 92 autoDocstring issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I use the extension autoDocstring quite extensively in generating templates when documenting the functions and classes. When doing so, I have noticed that it doesn't handle unicode...

bug

This PR resolves #181. It adds a second loop to the `parseExceptions()` function, which searches for a different pattern (`/(?

**Describe the bug** The current template for google docstring's `Returns` section is as follows: ``` Returns: _type_: _description_ ``` The [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html#doc-function-returns) suggests a sentence like `A dict...

bug

**Describe the bug** Python has a `NoReturn` type ([docs](https://docs.python.org/3/library/typing.html#typing.NoReturn)) used to indicate that a function can never return (it's used by static analysis tools to analyse dead code zones). Currently...

bug

When writing the following function ``` def my_function(arg: int = 3) -> int: return arg ``` autoDocstring generates the following docstring automatically (using Google style docstrings): ``` def my_function(arg: int...

This is the same template as google-notypes just without having "Defaults to x" for kwargs. The reason for adding this is that the default value for the kwargs is already...

This change fixes #198, where templates saved with CRLF line returns will generate unwanted trailing white spaces and new lines.

Looks like the current implementation only removes lines that start with "#" to filter comments. As described in issue #160, inline comments are missed. This should resolve issue #160.

**Describe the feature request** Is there a way to use this extension also to generate the module doc string? I know very popular one like google or numpy are already...

bug

labels: feature request Can be added fold/unfold docstring paragraph? It's will help us with a fast overview code. Thank you.

need more info