How can I quickly add R-type quotes (#
) to multiple lines in BBEdit, and how can I quickly remove them again?
Asked
Active
Viewed 198 times
0
2 Answers
1
Select the lines you want and from the menu select Text->Prefix/Suffix Lines... and enter "# " in the prefix section. To remove them do the same thing but select "remove".

CharType
- 390
- 1
- 4
- 16
1
If your document's language is set to R, you can select the lines you want to comment, and do Edit->Un/Comment. BBEdit knows how to comment it correctly if you have the right language selected.

Kerri
- 445
- 4
- 10