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.
我正在使用 netbeans 8.1。我想知道是否有一个功能可以在所选文本周围添加括号和引号。
就像官方文档所说的那样>
将此添加到代码模板中:
("${selection}")${cursor}
转到工具>选项>编辑器>代码模板
单击新建,输入“so”作为缩写,然后输入以下代码作为扩展文本:
("${selection}")${光标}
在描述选项卡中,输入“代码折叠”,然后单击确定