block comment and block uncomment can be merged into a single option like Toggle Block comment
-
I had been using NPP for so long and I just felt one thing to enhance that when we right click on any block of lines in a xml file or java file ( note : I tried in these two ) and click on block comment and block uncomment to comment/uncomment a block of lines.
Instead of having the comment/uncomment line as two different options , can they be merged into a single option like Toggle Block comment ?
-
From what I understand, the logic to toggle a block comment could be much more complicated than toggling for a single-line comment, depending on the language’s syntax(es) for block comments. That logical complexity is probably why Notepad++ implements “Toggle Single Line Comment” (which you didn’t show in your screenshot), but not “Toggle Block Comment” – if the developer went to the effort to create “Toggle Single Line Comment”, he presumably also thought about “Toggle Block Comment” and dismissed it for technical reasons – because if it was as easy to implement, there would have been no reason to not implement it at the same time.
Edit > Comment/Uncomment Standard Right Click Context It might be possible to implement (though complicated), but even if you followed the Feature request FAQ
and put that feature request in the right place (as described in that FAQ), my guess is that the developers won’t spend the effort on that (and my opinion is that there are many other feature requests and bug reports that are more important). But I am not the arbiter of such decisions, so you are free to follow that FAQto make an official feature request.—
edit: crossed out the suggestion to make a feature request: it already exists, and as the FAQ says, you should not create duplicate feature requests. -
Update: there is already an existing feature request #8300 that was requested in May 2020, and the developers haven’t implemented it yet. You can feel free to upvote that request at the link I provided, but again, I am doubtful that anything will ever come of it.