简体   繁体   English

如何在Netbeans中“接受”自动完成功能?

[英]How can I “accept” the autocomplete in Netbeans?

Sorry if this is a stupid question, for the last ten years I've worked solely in a text editor. 如果这是一个愚蠢的问题,很抱歉,在过去的十年中,我一直仅在文本编辑器中工作。

In Netbeans, I'd like to be able to quickly accept the autocomplete and move on. 在Netbeans中,我希望能够快速接受自动完成并继续。 For example: 例如:

$foo["bar

Netbeans will have automatically completed this to: Netbeans将自动完成此操作以:

$foo["bar"]

My caret/cursor is after the 'r' of bar. 我的插入符号/光标位于“ r”之后。 At this stage I would love to be able to hit one key and move to after the ] or even the " and then the ]. I can use the right keyboard arrow but that is impractical/painful. They must have thought of this by version 8? It really interrupts my flow and right now I'm just retyping the characters myself as it's quicker than moving my hand to the arrow keys. 在此阶段,我希望能够按一个键并移至[]甚至是“之后再移至]之后。我可以使用右键盘箭头,但这是不切实际/痛苦的。他们必须考虑到这一点8?它真的打断了我的流程,现在我只是自己重新键入角色,因为比将我的手移到箭头键更快。

I've scoured Netbean's menus, help, StackOverflow, Google. 我已经搜索了Netbean的菜单,帮助,StackOverflow和Google。 I think the answer will be very simple but I'm not sure what I should be searching for. 我认为答案将非常简单,但是我不确定应该寻找什么。 I may just be very dim. 我可能只是很昏暗。

我使用end键跳过自动完成的字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM