autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

Feature Request: Regenerate Existing Docstrings on Save

Open adam-grant-hendry opened this issue 3 years ago • 3 comments

Could we add an optional extension setting that allows existing docstrings in the current document to be regenerated on save? When type annotating/hinting in python, I might update the function signature and then also need to regenerate the docstring. Setting the keybinding to ctrl+s generates a new docstring at the cursor position rather than regenerating old docstrings. I envision this would be a setting like:

"autoDocstring.regenerateOnSave": true,  // Regenerate existing docstrings on save (default: true)

adam-grant-hendry avatar Mar 03 '21 22:03 adam-grant-hendry

@NilsJPWerner Is this still a possibility?

adam-grant-hendry avatar Jun 01 '22 01:06 adam-grant-hendry

@NilsJPWerner It's been a few months. Are you there?

adam-grant-hendry avatar Aug 24 '22 01:08 adam-grant-hendry

Isn't this duplicate of https://github.com/NilsJPWerner/autoDocstring/issues/28?

vmiheer avatar Sep 19 '22 20:09 vmiheer