Vim has something that I can’t find in Sublime Text so far: auto-wrapping comments on Return, so that the comment leader is inserted automatically. Am I missing something?
Auto-insert comment on return
andreiz
#3
In vim, if you type:
// This is the first line of the comment
and hit at the end, it’ll add a line and automatically insert "// " at the beginning so you can keep adding to the comment.
0 Likes
jtojnar
#5
Did not work for me in DocBlockr but https://github.com/Suor/CommentsAwareEnter works.
(Posting in case someone also arrives here through search.)
0 Likes