实现NetBeans C自动弹出code完成 [英] netbeans c auto popup code completion

查看:123
本文介绍了实现NetBeans C自动弹出code完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用NetBeans 7的程序下进行。

I'm using Netbeans 7 to program C.

试想一下,如果我键入首席 CTRL + SPACE 的弹出窗口将拿出的printf 建议。

Imagine if I type prin and CTRL+SPACE a popup window will come up with the printf suggestion.

我怎样才能让这个弹出窗口显示为I型?我不想使用 CTRL + SPACE

How can I make this popup to show as I type? I don't want to use CTRL+SPACE.

推荐答案

如果您有与 C / C ++的Netbeans插件安装的,你可以去工具 - >选项​​ - >编辑器 - > code完成

If you have Netbeans with the C/C++ plugin installed, you can go to Tools -> Options -> Editor -> Code Completion.

切换语言下拉到C / C ++。然后,您可以修改自动弹出式触发器的C / C ++标识符是这样的:

Switch the Language drop down to C/C++. You can then modify the Auto Popup Triggers for C/C++ Identifiers to something like this:

.;->;.*;->*;::;new ; ;a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z;

这会导致一旦上述任何模式的输入自动完成窗口弹出。在Netbeans中测试了8.0.2像一个魅力的作品对我来说。

This will cause the auto completion window to popup once any of the above patterns are entered. Tested in Netbeans 8.0.2 works like a charm for me.

这篇关于实现NetBeans C自动弹出code完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆