Eclipse上的自动代码完成

Eclipse上的自动代码完成

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

问题描述



我希望Eclipse自动建议我所有可能的选项,而我正在编写一些变量/类名或关键字,如Flash开发或Visual Studio。 >是可能吗?



如果没有,可以使用哪个Java IDE?



我是在我打字时,特别要求使用自动的方式获得使用 + 的相同内容。

解决方案

您也可以设置自动完成在打字时自动打开。



转到首选项> Java > 编辑器> 内容协助并在中为Java定制自动激活触发器字段中写入 .abcdefghijklmnopqrstuvwxyz p>

看到这个更多细节。


I want Eclipse to automatically suggest to me all possible options, while I'm writing some variable/class name or keyword, like in Flash Develop or Visual Studio.

Is it possible?

If not, with which Java IDE can I get this?

I'm specifically asking about a way to automatically get the same thing I get using + , while I'm typing.

解决方案

You can also set auto completion to open automatically while typing.

Go to Preferences > Java > Editor > Content Assist and write .abcdefghijklmnopqrstuvwxyz in the Auto activation triggers for Java field.

See this question for more details.

这篇关于Eclipse上的自动代码完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 08:27