docblockr
docblockr copied to clipboard
Preserve indentation for single-asterisk comment blocks and prefix new lines with an asterisk
Hi,
When typing a new multiline comment, the indentation is lost:
/*<Enter>
produces:
/*
<cursor>
*/
Then, when typing whatever key (including <tab>
or <space>
), here's what happens:
/*
a<cursor>
*/
While I'd prefer to have
/*
* <cursor>
*/
(which I see can be considered as an output customization which functionnality is heavily requested) at least, keeping the indentation would be nice. Seems like a bug to me. Is it ?
I see this as an optional feature, this isn't common in some programming languages.
Prefixing new lines with an asterisk is actually not important, in my opinion. I mentioned output customization for this reason. The fact that the indentation is lost seems more problematic to me...