Erfan Mhi
Erfan Mhi

Reputation: 95

Automatic Docstring Generator Plugin for Python Language in Neovim Code Editor

I am looking for a Neovim plugin that would be able to generate the initial template of docstring for a function based on the defined arguments and returns of this function. An example of what I want is illustrated below:

enter image description here

So, I wonder whether such a plugin exists. Or if it does not exist, how can I do this in Neovim for Python?

Upvotes: 1

Views: 1894

Answers (1)

Aubergine
Aubergine

Reputation: 407

I'm currently giving https://github.com/heavenshell/vim-pydocstring a try. It doesn't seem to do much for classes, but it works fine for functions/methods!

Upvotes: 1

Related Questions