Martin Ille
Martin Ille

Reputation: 7055

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

This question is only about PHP, not for Java.

NetBeans in PHP automatically completes block comments when I type /* rewriting it like this:

/**
 *
 */

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. Is it possible to turn off this feature please?

enter image description here

Upvotes: 7

Views: 820

Answers (2)

Martin Ille
Martin Ille

Reputation: 7055

Temporary solution is to type SHIFT + ENTER after /*. It will not autocomplete the comment block.

Upvotes: 4

Luís Ferreira
Luís Ferreira

Reputation: 2596

Apparently it is not yet possible if you are using NetBeans for PHP. This user had a similar question: How to do multi-line comments in NetBeans without auto DocBlock formatting?

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:

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

Upvotes: 5

Related Questions