autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

Top-level module docstring is created with an indent

Open hazrmard opened this issue 5 years ago • 3 comments

Describe the bug When creating a module docstring for a .py file, it is created an extra indent.

Versions (please complete the following information):

  • autoDocstring Version: v0.5.3
  • Operating System: Windows 10
  • Vscode Version: 1.46.1

Original Code (with line to generate on):

# generate on top-level of a module for e.g. beginning of file

Expected Result:

# generate on top-level of a module for e.g. beginning of file
"""
[summary]
"""

Actual Result:

# generate on top-level of a module for e.g. beginning of file
    """
    [summary]
    """

hazrmard avatar Jul 14 '20 16:07 hazrmard

I can confirm this bug.

HitLuca avatar Jul 24 '20 09:07 HitLuca

+1

manestay avatar Apr 15 '21 02:04 manestay

+1

wcheek avatar Nov 14 '22 01:11 wcheek