eclipse代码自动提示设置

来源:互联网 发布:天下游软件 编辑:程序博客网 时间:2024/05/01 09:20

eclipse般默认情况下的代码提示需要按alt+/进行提示,稍有繁琐,于是搜索后发现可以如下设置:


step 1.、菜单栏“window”→“Preferences” 
step 2、 “java--Editor--Content Assist”

step 3、 选择“Content Assist”,右边的“Auto­Activation”下面,在“.”后输入a-z,A-Z这些字母,即“。abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ”之后确定。


同样的,设置 xml 文件的代码提示功能:打开 Eclipse 依次选择 Window > Preferences > Xml > Editor >
Content Assist > Auto activation > Prompt when these characters are inserted ,将它改为:<=:.abcdefghijklmnopqrstuvwxyz(
0 0
原创粉丝点击