Hi, I've got a question about the comments. The normal comment cmd-/ comment's the current line / selection nice. However when i comment a line with cmd-alt-/ (insert comment block) while i'm standing in front of the line the output becomes
/* */My comments
Is it possible that the current line / (selected) lines are inside the tag ?
Regards J.
On 5 Dec 2007, at 00:03, Jasper van der Meulen wrote:
[...] when i comment a line with cmd-alt-/ (insert comment block) while i'm standing in front of the line the output becomes [...] Is it possible that the current line / (selected) lines are inside the tag ?
It should already work with a selection.
To make it work with current line (for no selection) go to Bundles → Edit Commands… and locate the command (in the Source bundle) and change the “[Selection] or [Nothing]” to “[Selection] or [Line]”.
It doesn’t do the extra newlines and tab when there is input though. But you can modify the script, if you prefer that.