rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.92k stars 302 forks source link

Add a comment to selected lines of code #6201

Open sberruti opened 9 months ago

sberruti commented 9 months ago

Justification sometimes I have to replace several lines of code with new ones and I don't want to delete the pre-existing ones, so I make them become annotations by adding a ' at the beginning of the line.

Description I want to select some lines of code and add a ' at the beginning

Additional context could be added in Refactoring

FullValueRider commented 9 months ago

That's already part of the VBA ide. View.Toolbar.edit.

retailcoder commented 9 months ago

Side note, "Comment/Uncomment Selected Lines" is definitely a planned editor feature in v3.0 ☺️