如何在NetBeans 7.0中关闭在圆括号上的方法自动完成功能? [英] How do you turn off method autocompletion on open parenthesis in NetBeans 7.0?

查看:81
本文介绍了如何在NetBeans 7.0中关闭在圆括号上的方法自动完成功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我是个快速打字员,因为如果我键入字符

I guess I'm a quick typer because if I type the characters

ArrayList myArray;
myArray.size(

NetBeans自动完成功能将以下内容添加到我的编辑器中

NetBeans auto complete puts the following in my editor

ArrayList myArray;
myArray.add(someVar);

为什么?因为自动补全没有时间在我键入'('时找到和过滤所有方法名称.因此,它从到目前为止已创建并过滤的列表中取出第一个方法:"add". !!

Why? Because the auto completion doesn't have time to find and filter all the method names by the time I type '('. So it takes the the first one from the list it has created and filtered so far: "add". Grrrr!!!

我想保留方法名的完成,但是我不希望它发生在'('上.我还无法找出如何微调这个很棒的功能,以防止它破坏我的代码.

I want to keep method name completion, but I don't want it to happen on '('. I haven't been able to find out how to fine tune this awesome feature to stop it from mangling my code.

推荐答案

我无法在NetBeans 7.1.2中重现您的问题.也许我输入的速度不够快...

I cannot reproduce you problem in NetBeans 7.1.2. Maybe I'm not typing fast enough...

看看选项"以关闭一些代码完成选项:工具"->选项",选择编辑器"部分,然后选择代码完成"选项卡.

Take a look at the Options to switch off some of the code completion options: Tools->Options, select the Editor section, then the Code Completion tab.

这篇关于如何在NetBeans 7.0中关闭在圆括号上的方法自动完成功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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