Eclipse插件:自动完成应该是 [英] Eclipse plugin: AutoComplete as it should be

查看:106
本文介绍了Eclipse插件:自动完成应该是的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,有多种可能的解决方案。



我正在做一个电脑耐心研究,我正在作为实习生在这一刻。我的任务是为Android& iOS版。我现在使用Visual studio 2010工作了2年,Xcode比较模拟,所以没有什么大不了,但另一方面,Eclipse并不像以前那样习惯,我不是说它是坏的。我已经喜欢Eclipse到目前为止,但现在我一直在使用Xcode和Eclipse



现在在你回答之前坚持下去!我知道在Eclipse中有一个自动完成,但是只有在您按住Ctrl + Space之后才会弹出,或者在最多四个自动激活触发器中触发之后触发。



所以我的问题是:



有没有任何工具在每次击键或某些事情之后触发自动完成?
我尝试着制作我自己的Eclipse插件,但是对于Eclipse API来说,这是很难解决的,尽管考虑到Auto Complete功能的教程是受欢迎的! (他们应该涵盖类,如 ContentAssistCommandAdapter



提前感谢!

解决方案

键盘和弹出窗口之间的延迟是可配置的。因此,作为插件的替代方案,您可以调整自动完成设置,以在较短的时间(例如1/10秒)弹出。

  Eclipse首选项 - > 
Java - >
编辑器 - >
内容辅助 - >
启用自动激活
自动激活延迟(ms)

显示Mac OX 10.6,运行EclipseIndigo版本,但该选项一直存在)




I have a problem, with multiple possible solutions.

I'm doing a Computer Sience study and I'm working as an intern at the moment. My assignment is to make a business application for Android & iOS. I've been working for 2 years with Visual studio 2010 now, Xcode is rather simular so that's no biggy, Eclipse on the other hand is not as what I'm used to, I'm not saying it's bad. I have enjoyed Eclipse so far but now i'm constantly using Xcode and Eclipse

Now hold on there before you answer! I know there is an autocomplete in Eclipse but it will only pop after you push Ctrl + Space or after one of the maximum of four Auto activition triggers is, well, triggered.

So my question is:

Is there any tool that does trigger auto complete after every keystroke or something? I tried looking at making my own Eclipse plugin but it was way to hard with zero knowlegde about the Eclipse API, although tutorials considering the Auto Complete features are welcome! (they should cover classes like ContentAssistCommandAdapter)

Thanks in advance!

解决方案

The delay between keystroke and pop-up is configurable. So, as an alternative to a plug-in, you can adjust the autocomplete settings to pop-up after a shorter period of time, such as 1/10th of a second.

Eclipse preferences ->
  Java ->
    Editor ->
      Content Assist -> 
        Enable Auto Activation
        Auto activation delay (ms)

(showing Mac OX 10.6, running Eclipse "Indigo" release, but the option has been around forever):

这篇关于Eclipse插件:自动完成应该是的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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