gpt4 book ai didi

php - 网 bean 7.3.1 : is there a way to automatically insert ; at the end of the line for PHP files?

转载 作者:可可西里 更新时间:2023-11-01 00:45:46 25 4
gpt4 key购买 nike

我可以配置 netbans 还是有自动添加分栏的键盘快捷键?

目前,当我输入以下内容时,随着盒子的行为;


死(“x

Netbans 自动将其转换为以下内容;


死(“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

关于php - 网 bean 7.3.1 : is there a way to automatically insert ; at the end of the line for PHP files?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19335632/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com