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.
我可以配置 netbans 还是有自动添加半列的键盘快捷键?
目前,当我输入以下内容时,使用盒子行为;
die("x
Netbans 自动将其转换为以下内容;
die("x|")
请注意,在上面的演示中,|表示闪烁的光标位置)
|
现在...
这个时候,通过按[enter]键和一些组合键进入下一行,你会得到这个,这不是很好吗?
die("x"); |
对于 NetBeans(至少是 Java EE 包)是Ctrl-Shift-;. (Ctrl-; 用于添加 ; 不带新行)。我已经在 NB 7.4 中使用 PHP 文件进行了测试,并且可以正常工作。
Ctrl-Shift-; 同时按下 Control Shift 和分号键(不是 Control 和破折号)
http://i.stack.imgur.com/atu6Q.png