Sublime Forum

Comment continuation in Python


I’d like to be editing a comment in Python:

# this is my comment

then hit enter, and get a comment and indentation at the beginning of the new line:

# this is my comment
# <---- this gets added automatically

A similiar question is here:

But DocBlockr doesn’t list python as supported. It does seem to work, however, when installed if I use two spaces after my hash symbol, but I’d prefer to use one space.



In case someone also finds this with a search engine in the future works great.