0

How can I quickly add R-type quotes (#) to multiple lines in BBEdit, and how can I quickly remove them again?

2 Answers2

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