expand template in netbeans 7.0.1 PHP doesn't work

541 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 best solutions below

1
On BEST ANSWER

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

0
On

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