heavenshell / vim-pydocstring

Generate Python docstring to your Python source code.
BSD 3-Clause "New" or "Revised" License
337 stars 53 forks source link

Update a docstring #47

Closed rsacherer closed 6 years ago

rsacherer commented 6 years ago

Would it be possible to have a upgrade function? I created the function and inserted the docstring, then I modfie the first line to be some description.

Now I add some parameters and recreate the docstring, what would be great is that the current docstring be deleted, but the first line (and maybe until the parameter definition and text after the parameters) be kept intact.

best

heavenshell commented 6 years ago

I understood your requirements, but sorry currently no. It's too complicated and I have no idea to implement this.

Please read https://github.com/heavenshell/vim-pydocstring/issues/16