sublime_docblockr_python
sublime_docblockr_python copied to clipboard
Creates docstrings with whitespaces in numpty
When creating docstrings from scratch using """ + enter under a function for example, the docstring created has whitespaces between [summary] and [description] and [description] and Returns, any way i can fix that?
I'll have to check in with sublime's snippet support. as far as I know when putting multiple lines in the snippet template effectively performs a return at that indentation, leaving behind that trailing whitespace. To help mitigate, I would recommend a plugin to trim trailing whitespace, but obviously that is not the ideal solution.
@adambullmer Though a bit older, i think this kinda tries to go past that, a bit hacky but still: https://github.com/socsieng/sublime-copy-code-snippet/blob/master/copy_code/commands/copy_snippet_command.py