autoDocstring
autoDocstring copied to clipboard
command 'autoDocstring.generateDocstring' not found
Describe the bug
After an upgrade to v0.5.3, when I try to create doc strings I get the error: command 'autoDocstring.generateDocstring' not found. I tried uninstalling and reinstalling the latest version but got the same error whenever I tried to create a docstring. When I chose to install an earlier version (0.5.2) it works just fine.
Versions (please complete the following information):
- autoDocstring Version: 0.5.3
- Operating System: Mac
- Vscode Version: 1.50.1
Original Code (with line to generate on):
def function():
pass
Expected Result:
def function():
"""[summary]
[extended_summary]
Returns:
[type] -- [description]
"""
pass
Actual Result:
def function():
pass
Stack trace:
If an error was reported by autodocstring please copy the stack trace from the autoDocstring output channel.
Additional context Add any other context about the problem here.
Are you still getting this?
I am still getting this error with VC Code 1.71.2 and autoDocstring 0.6.1
In my case, I needed to restart my VScode instance for the command to work. Hope it helps!