I already have the following snippet, which is working:
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
The thing is that I want to know if I'm able to trigger the new line entries inside this comment block and replace it with *****. This way I'm able to write the multiline comment without worrying about the size of it.
In TextMate I have this working like a charm. I have two snippets:
Note that in the second one, which is responsible to add a new line to the comment has its source set to
. This is because TextMate let me set the snippet source as the comment block.
Is there any way to accomplish this with Sublime Text?