expand template in netbeans 7.0.1 PHP doesn't work

524 views Asked by At

When I enter an abbreviation of a code template and press the expand key nothing happens. I also get no suggestions when i wait for the code completion.

I had a look at Tools > Options > Editor > Code Templates > Language: PHP and there are lots of templates listed. My Expand template key is set to Tab, but I also tried other keys like shift + space.

I did not change the templates, they are still out of the box. I read about the vdoc template and because of this I recognized, that expanding templates doesn't work for me.

In code completion I activated all options except case sensitive code completion for all languages. For the php language I activated: all possible situations, also static, also non-static, all variables and unqualified.

I'm using Netbeans 7.0.1 on Win 7 prof x64.

Why does it not work for me?

2

There are 2 answers

1
Gerard Roche On BEST ANSWER

This was a bug. It has been fixed since 7.1.

0
Silas Olatayo On

Your completion must be done in the <?php tag.