autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

command 'autoDocstring.generateDocstring' not found

Open nadeleke opened this issue 5 years ago • 3 comments
trafficstars

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.

nadeleke avatar Oct 25 '20 14:10 nadeleke

Are you still getting this?

NilsJPWerner avatar Mar 08 '21 04:03 NilsJPWerner

I am still getting this error with VC Code 1.71.2 and autoDocstring 0.6.1

ptrebert avatar Sep 23 '22 08:09 ptrebert

In my case, I needed to restart my VScode instance for the command to work. Hope it helps!

h3ct0r avatar Jan 31 '23 15:01 h3ct0r