Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何快速将 R 型引号 ( #) 添加到 BBEdit 中的多行,以及如何快速再次删除它们?
#
选择所需的行,然后从菜单中选择 Text->Prefix/Suffix Lines... 并在前缀部分输入“#”。要删除它们,请执行相同的操作,但选择“删除”。
如果您的文档语言设置为 R,您可以选择要注释的行,然后执行 Edit->Un/Comment。如果您选择了正确的语言,BBEdit 知道如何正确评论它。