Open
Description
How to reproduce
_
denotes the cursor location.
def f(a):
"""_
Now type <Enter>
. It becomes:
def f(a):
"""[summary]
[description]
:param a: [description]
:type a: [type]
"""
Now [summary]
is selected. Typing <Tab>
four times, the cursor should jump to:
def f(a):
"""[summary]
[description]
:param a: [description]
:type a: [type]
"""_
To continue writing, one would type <Enter>
. However, it renders:
def f(a):
"""[summary]
[description]
:param a: [description]
:type a: [type]
"""[summary]
[description]
:param a: [description]
:type a: [type]
"""
with the second [summary]
selected.
Expected behavior
The last <Enter>
in the previous example should trigger only an "Enter" rather than insert another block of docstring.
Current workaround
Type Ctrl-<Enter>
instead. However, this seems awkward as it breaks normal workflow.
Version and formatter
- Sublime text 3:
Sublime Text Build 3200
- DocBlockr_Python: unknown, but I installed it today (2019-03-15 [YYYY-mm-dd])
- formatter:
sphinx
Thanks.
Metadata
Metadata
Assignees
Labels
No labels