autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

'autoDocstring.generateDocstring' not Found

Open mekhwan opened this issue 4 years ago • 2 comments

Describe the bug A clear and concise description of what the bug is.

Versions (please complete the following information):

  • autoDocstring Version: v0.5.4
  • Operating System: Windows 10
  • Vscode Version: 1.57

Original Code (with line to generate on): def get_data(file): """

generate on this line

Expected Result: def get_data(file): """

docstring stuff generated on this line

""" Actual Result: def get_data(file): """ Stack trace: prompt: Command 'Generate Docstring' resulted in an error (command 'autoDocstring.generateDocstring' not Found)

Additional context I Tried with by command and using the shortcut. autoDocstring.generateDocstringOnEnter is activated yet it does not work. I reinstalled it and relaunched VS Code a couple of times but it persisted.

docstring error

mekhwan avatar Jun 26 '21 00:06 mekhwan

Hello, I am facing the same problem on Ubuntu too.

  • Ubuntu 20.04
  • VScode 1.57.1
  • Vscode Version: 1.57

alevas avatar Jun 28 '21 14:06 alevas

Try downgrading the version of autoDocstring extension. In my case, v0.6.1 gave the error command 'autoDocstring.generateDocstring' not Found and v0.6.0 works fine.

creme332 avatar May 29 '23 08:05 creme332