1. Summary
I can’t find, how I can automatically add comment around words.
2. Expected behavior
I wrote Sasha words → I press hotkey → I get:
###############
# Sasha words #
###############
Or another simply actions.
3. Not helped
3.1. Snippet
I try similar snippet as in this answer → I get:
###########################
# Sasha words #
###########################
I get extra # symbols.
3.2. DocBlockr
DocBlockr works only for JavaScript-style comments.
I can’t adapt code fragment for Python-style comments → I get traceback:
Traceback (most recent call last):
File "D:\Sublime Text 3 x64\sublime_plugin.py", line 818, in run_
return self.run(edit)
File "D:\Sublime Text 3 x64\Data\Packages\PaletteMira\BlockComment.py", line 1431, in run
leadingWS = len(re_whitespace.match(lineText).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
3.3. Another plugins
I can’t find any plugin in Package Control, that can solve this problem.
Thanks.