Rubberduck icon indicating copy to clipboard operation
Rubberduck copied to clipboard

Add a comment to selected lines of code

Open sberruti opened this issue 1 year ago • 2 comments

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

sberruti avatar Feb 07 '24 18:02 sberruti

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

FullValueRider avatar Feb 07 '24 21:02 FullValueRider

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

retailcoder avatar Feb 07 '24 22:02 retailcoder