我怎样才能使自动完成在NetBeans中包括的变量以及方法呢? [英] How can I make auto completion in netbeans include both variables as well as methods?

查看:176
本文介绍了我怎样才能使自动完成在NetBeans中包括的变量以及方法呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很好奇,如果有人知道的方式(通过使用一个设置或插件或东西),这将允许我对在NetBeans飞选择的变量名,以同样的方式,Visual Studio 2008中不使用自动弹出窗口?目前,我可以通过pressing Ctrl +空格访问他们,但我想知道,如果有我能避免这种情况,只是让他们自动拿出当我键入一个途径,这些方法会拿出。 运营商为正常?

I was curious if anyone knows a way (by using a setting or a plugin or something), that would allow me to select variable names on the fly in netbeans, in the same way that Visual Studio 2008 does using an automatic popup window? At the moment I can access them by pressing Ctrl + Space, but I wondered if there is a way that I could avoid this and just have them come up automatically as I type, and the methods would come up with the '.' operator as normal?

在设置工具 - >选项 - >编辑 - > code完成似乎并不具备Ctrl +空格键设置我在寻找,只为切换正常的一个tickbox'。方法名或关闭.. code完成

The settings in 'Tools->Options->Editor->Code Completion' doesn't seem to have the Ctrl + Space setting I'm looking for, only a tickbox for toggling the normal '.' code completion of method names on or off..

(如果有帮助,NetBeans的版本是6.9.1,而我用Java写的Glassfish)

(if it helps, the version of Netbeans is 6.9.1, and I'm writing in Java for Glassfish)

推荐答案

我试图让通过的添加字母所需功能以完成选择。它的工作有点,你总是可以尝试一下。

I tried to get the desired feature by adding the alphabet to the completion selectors. It worked somewhat, you can always try it.

转到:

工具 - >选项 - >编辑 - > code完成

Tools -> Options -> Editor -> Code Completion

选择

语言:[考试]

检查:

[X] Auto Popup on Typing Any Java Identifier Part

完成选择器的Java:

Completion Selectors for Java:

[.,;:([+-=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVXYZ]

祝您好运!

这篇关于我怎样才能使自动完成在NetBeans中包括的变量以及方法呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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