在 Eclipse 中自动打开完成窗口 [英] Automatically opening completion window in Eclipse

查看:27
本文介绍了在 Eclipse 中自动打开完成窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Eclipse 的新手,我想知道是否可以在我键入(Visual Studio 样式)时自动打开完成窗口,而不是通过单击 Ctrl + Space?

I am new to Eclipse and I want to know if it's possible to have the completion window open up automatically while I type (Visual Studio style) and not by clicking Ctrl + Space?

推荐答案

这是可能的.您可以简单地编写:.abcdefghijklmnopqrstuvwxyzAuto activation triggers for Java 字段中,在 Preferences > Java > 下>编辑 > 内容辅助.

It is possible. You can simply write: .abcdefghijklmnopqrstuvwxyz in Auto activation triggers for Java field, under Preferences > Java > Editor > Content Assist.

在编写 Java 代码时,在点 . 之后,窗口会在可配置的时间(默认为 200 毫秒)后自动打开.

While writing Java code, after the dot . the window opens automatically after a configurable amount of time (default is 200 ms.)

一般来说,你可以做的是添加一个自动激活触发器,例如_,所以当你想要弹出窗口时,你输入并删除那个字符(虽然我不认为这比 CTRL + SPACE 更好).

In general, what you can do is add an auto activation trigger, for example _, so when you want the windows to popup, you type and delete that character (althought I don't think that's better than CTRL + SPACE).

这篇关于在 Eclipse 中自动打开完成窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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