[
https://issues.apache.org/jira/browse/NETBEANS-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Lenz updated NETBEANS-179:
------------------------------------
Attachment: webstorm-comment-lines.gif
> Comment lines should ignore blank lines
> ---------------------------------------
>
> Key: NETBEANS-179
> URL: https://issues.apache.org/jira/browse/NETBEANS-179
> Project: NetBeans
> Issue Type: Improvement
> Components: editor - Other
> Affects Versions: Next
> Reporter: Christian Lenz
> Attachments: netbeansCommentWithBlankLines.gif,
> vsCodeCommentWithoutBlankLines.gif, webstorm-comment-lines.gif
>
>
> As you can see it in my screencast, when I comment out some code and between
> those code are blank lines, made for readability, the insertion of comments,
> will comment the blank line too, which doesn't make sense, because there is
> nothing to comment out. And this is a big problem, because when I comment out
> code blocks separately without having blank lines between and I select all
> blocks which are commented and I want to uncomment them, this is not
> possible, because it will make more comments because of the blank lines,
> which are not commented out. Everything you can see in my screen capture.
> This is not a behaviour what I know in other editors/IDEs and what I not
> expect. You can try it in visual studio code or sublime, they will not
> comment out blank lines.
> WebStorm did the same as NetBeans, they will comment out blank lines BUT when
> I select all, commented code with blank lines which were commented and blocks
> without commented blank lines, it will remove the comment, which I expect and
> which is right in my perspective. NetBeans does it wrong.
> Regards
> Chris
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)