IDE - Change block of code to comment

MikeH

Well-Known Member
Licensed User
Longtime User
I`d like to select blocks of code and put the ' mark at the start of each line.

For example, change:

B4X:
Dim b As Beeper
b.Initialize(300, 500) '300 milliseconds, 500 hz
b.Beep

to

B4X:
'  Dim b As Beeper
'  b.Initialize(300, 500) '300 milliseconds, 500 hz
'  b.Beep

Maybe with a right-click option to "Make as comment" and "Make as code" ?

This means I can keep blocks of code in place whilst I try other ideas.

Thank you.
 

klaus

Expert
Licensed User
Longtime User
It is already in there !
Look at the two buttons on the right of the Find (binoculars) button.

Best regards.
 

Attachments

  • CommentButtons.jpg
    CommentButtons.jpg
    24.9 KB · Views: 498

MikeH

Well-Known Member
Licensed User
Longtime User
Marvellous! Thank you Klaus :)
 
Top