Hello,
I have just started my adventure with sublime text. When I write my programs in python in sublime I like to leave nice looking comments. Sth. like this:
############################
### This is heading no 1 ###
############################
Is there a way to automate this in sublime? I think the most preferable solution would be when I have title on it’s own (f.e. above ‘This is heading no 1’) and cursor at the end of the line pressing keyboard shortcut which would launch snippet/makro which would:
1)add 3 hash tags at the beginning of the line
2)add 3 hash tags at the end of the line
3)add (len(text) + 24) hash tags in line above
4)add (len(text) + 24) hash tags in line below
I would be grateful for pushing me in the direction of possible solution.
Thank you in advance for help.