在 netbeans 7.0.1 PHP 中扩展模板不起作用
当我输入代码模板的缩写并按展开键时,没有任何反应。当我等待代码完成时,我也没有得到任何建议。
我查看了“工具”>“选项>编辑>代码模板>语言:PHP,并列出了很多模板。我的扩展模板键设置为Tab,但我也尝试了其他键,例如shift + space。
我没有更改模板,它们仍然是开箱即用的。我读到了vdoc模板,因此我认识到扩展模板对我不起作用。
在代码完成中,我为所有语言激活了除区分大小写的代码完成之外的所有选项。对于php语言我激活:所有可能的情况,也静态,也非静态,所有变量和非限定。
我在 Win 7 prof x64 上使用 Netbeans 7.0.1。
为什么它对我不起作用?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的补全必须在
标记中完成。
Your completion must be done in the
<?php
tag.这是一个错误。从 7.1 开始已修复。
This was a bug. It has been fixed since 7.1.