emacs-vs/ts-docstr

Integration with Yasnippet

d-miketa opened this issue · 3 comments

It'd be nice if this package could support the yasnippet format for fields like function summaries and argument descriptions. Numpydoc features it as an option, see GIF towards the bottom of the README: https://github.com/douglasdavis/numpydoc.el

Your request is a bit misleading. Do you want this package to integrate with yasnippet? And provide function summaries and argument descriptions as an option?

My question is, what would you want this package to work with yasnippet? Expand template? Triggering? Insert in the field? etc. Is the workflow like yasnippet?

Regarding the options, it can be another feature request whether the yasnippet is integrated.

P.S. Just want to clarify your requests! ;)

Sure, I'll try to be clearer! :)

I'm really only looking for the "insert in the field" and "jump to next field" functionality that Yasnippet already has (and that you can see in the GIF I linked to). While the current package solves insertion of the docstring template, this would help to quickly edit it.

Thanks for the clarification! ❤️ I think this is indeed a nice feature to have!

I'm moving somewhere else from my country, so I probably wouldn't have too much time to do this! But I will keep this feature request in mind!

Feel free to open PRs if you are comfortable with elisp, or share for more exposure! May be other would like to help out!

Happy New Year! 🥳