简体   繁体   English

如何在PHP中关闭NetBeans中的自动完成块注释?

[英]How to turn off auto-complete block comments in NetBeans in PHP?

This question is only about PHP, not for Java . 这个问题只涉及PHP,而不是Java

NetBeans in PHP automatically completes block comments when I type /* rewriting it like this: 当我键入/*重写它时,PHP中的NetBeans自动完成块注释:

/**
 *
 */

I really don't want any auto-completting after typing /* or */ . 输入/**/后我真的不想要任何自动完成功能。 I know there is a solution for Java but I can't find any for PHP. 我知道有一个Java解决方案,但我找不到任何PHP。 Is it possible to turn off this feature please? 是否可以关闭此功能?

在此输入图像描述

Apparently it is not yet possible if you are using NetBeans for PHP. 显然,如果您使用NetBeans for PHP,它还不可能。 This user had a similar question: How to do multi-line comments in NetBeans without auto DocBlock formatting? 此用户有一个类似的问题: 如何在没有自动DocBlock格式的情况下在NetBeans中执行多行注释?

As you can see he submitted a bug report but scrolling down in the provided link shows that it was only corrected for Java so far: 正如您所看到的,他提交了一个错误报告,但在提供的链接中向下滚动显示它到目前为止仅针对Java进行了更正:

https://netbeans.org/bugzilla/show_bug.cgi?id=230814 https://netbeans.org/bugzilla/show_bug.cgi?id=230814

Temporary solution is to type SHIFT + ENTER after /* . 临时解决方案是在/*后键入SHIFT + ENTER It will not autocomplete the comment block. 它不会自动填充注释块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM